title: Difference between export const foo, export default foo and module.exports = foo
body: <p>I am really confused about:</p>
  
  <ol>
  <li><code>export const foo</code></li>
  <li><code>export default foo</code></li>
  <li><code>module.exports = foo;</code></li>
  </ol>
  
  <p>I know these are very basic but could someone please differentiate and explain these to me. I really want to understand.</p>