title: SyntaxError: Use of const in strict mode
body: <p>I'm working with node.js, and in one of my js files I'm using <code>const</code> in <code>"strict mode"</code>. When trying to run it, I'm getting an error:</p>
  
  <pre><code>SyntaxError: Use of const in strict mode.
  </code></pre>
  
  <p>What is the best practice to do this?</p>
  
  <p>Edit:</p>
  
  <pre><code>'use strict'
  const MAX_IMAGE_SIZE = 1024*1024; // 1 MB
  </code></pre>