title: Currying or closure
body: <p>Hello I'm doing a javascript coding interview, to prepare for an upcoming one.
  i had a question that confused me a bit. The question is as follow :</p>
  <p>What concept is being illustrated below ?</p>
  <pre><code>function makeAdder(x) {
    return function (y) {
      return x + y;
    };
  }
  
  var addFive = makeAdder(5);
  console.log(addFive(3));
  </code></pre>
  <p>There were 4 answers to pick from and then there's :
  Currying and
  Closure</p>
  <p>I thought both of these were right. I ended up picking currying, but i really thought this is illustrating closures as well? Could you explain why this is not illustrating closures?</p>