title: Arrow function vs function vs const
body: <p>Can someone explain to me, or direct me to some documentation that describes the differences in the following implementations?</p>
  <p>I can't wrap my head around when to use which style of some custom function.</p>
  <p>From what I can understand A and B are roughly the same, but ES6 allows arrow functions.
  Is there a reason to use one of the other. How does C fit in?</p>
  <pre><code>const solutionA = () =&gt; {
    return &lt;p&gt;A Text&lt;/p&gt;
  }
  
  function solutionB(){
     return &lt;p&gt;B Text&lt;/p&gt;
  }
  
  const solutionC = (
     &lt;p&gt;C Text&lt;/p&gt;
  )
  </code></pre>