re: Make Your Code Cleaner, Shorter and Easier to Read! ES6 Tips and Tricks. VIEW POST


Great ES-6 features explanation. I've found typo:

function foo(a, b, c) { console.log(a=${a}, b=${b}, c=${c}}
let data = [5, 15, 2];
foo( ...data); // a=5, b=15, c=2

There is a missing closing bracket of console.log()


Thanks for pointing that out. I hope you enjoyed the post beside the typos

code of conduct - report abuse