Too Long; Didn't Read
I’ve been writing JavaScript using the ES2015 (ES6) syntax for awhile now and have grown to appreciate many of the language changes for their elegance and simplicity. One of the first and easiest changes I adapted to was using <code class="markup--code markup--p-code">let</code>/<code class="markup--code markup--p-code">const</code> instead of <code class="markup--code markup--p-code">var</code>. However, I took for granted the benefit <code class="markup--code markup--p-code">let</code> provides over <code class="markup--code markup--p-code">var</code>; it isn’t just a flashy new syntax for <code class="markup--code markup--p-code">var</code>, but rather provides an important scoping mechanism.