ES6 Notes

ES6(a.k.a ES2015) has been around for some time. Although it is fully backward compatible with previous version of JavaScript - ES5 which has been around for decades, there's quite some new syntax and features introduced in ES6 that is exciting on one hand, but can easily get wrong on the other hand. This posts is my study notes on ES6. let for block scoping let defines block scope variables, which can be accessed in a nested scope just like var. [Read More]