title: What is the difference between using const and function in javascript?
body: <p>What is the difference between these two functions?</p>
  
  <pre><code>const square = (number) =&gt; {
    return number * number;
  };
  
  function square (number) {
    return number * number;
  }
  </code></pre>