title: Difference between identifier and variable (in JavaScript)
body: <p>I had been looking through this <a href="https://stackoverflow.com/questions/11439735/what-is-the-difference-between-an-identifier-and-variable">query</a> for the answer.</p>
  <p>With the below JavaScript syntax:</p>
  <pre><code>var var1 = 1;
  var var2 = function(a, b){
           return a + b;
        };
  var var3 = var2(3, 5);
  </code></pre>
  <p>I would like to know, whether <code>var1</code>/<code>var2</code>/<code>var3</code> are variables or identifiers.<br />
  A bit confused with <code>var</code> keyword in JavaScript.</p>