title: Run a function inside a console.log?
body: <p>I'm reading someone's javascript code and I have a hard time understanding what they are trying to do here.</p>
  
  <pre><code>var add3 = add(3);
  var add4 = add(4);
  
  console.log(add3(4));
  </code></pre>
  
  <p>Can someone explain what is going on inside the <code>console.log()</code> here?</p>
  
  <p>Is <code>console.log</code> just taking the <code>add3</code> value and automatically adds it to a integer 4?</p>
  
  <p>Thanks</p>