javascript - Uncaught ReferenceError: keys is not defined
<p>I am getting this error when i run the command from the script file . But, if i run the command from the google chrome console, it is working properly . </p>

<pre><code>  a = {}
  console.log(keys(a))
</code></pre>

<p>Error : </p>

<pre><code> Uncaught ReferenceError: keys is not defined 
</code></pre>
