DEV Community

Discussion on: Make Your Code Cleaner, Shorter and Easier to Read! ES6 Tips and Tricks.

vkorotynskyy profile image
Vitaliy Korotynskyy • Edited

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(; // a=5, b=15, c=2

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

samwsoftware profile image
Sam Williams Author

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