 class="line-numbers-rows"><a href="#C1_L1" id=C1_L1></a></span></code></pre>
<p>JavaScript initially had two ways to declare variables, globally and <code>var</code>.
With the release of ES2015, <code>const</code> and <code>let</code> were introduced.
We will go through the different ways to declare a variable,
also called bindings because they <em>bind</em> a value to a variable name,
and why modern JavaScript tends to prefer <code>const</code> and <code>let</code>.</p>
</section>
<h3 id="toc_var"><code>v