Good news everybody! ES6 (or ES2015) introduces the
let keyword. This allows the developer to attach a variable to the scope of whatever code block - code between
} - it resides in. Block scope rather than function scope!
Daniel is a front-end developer at Talis, with an interest in accessibility, performance, and web components.