de>var</code> named <code>name</code>.
We will try to access it both inside the function and outside,
and see the results we get:</p>
<pre class="language-javascript line-numbers"><code class="javascript language-javascript">console<span class="token punctuation">.</span><span class="token function">log</span><span class="token punctuation">(</span>name<span class="token punctuation">)</span><span class="token punctuation">;</span> <span class="token comment">// ReferenceError: name is not defined</span>

<