title: How to make function parameter constant in JavaScript?
body: <p>What I want to do is to use as many immutable variables as possible, thus reducing the number of moving parts in my code. I want to use "var" and "let" only when it's necessary.</p>
  
  <p>This won't work:</p>
  
  <pre><code>function constParam(const a){
      alert('You want me to '+a+'!');
  }
  </code></pre>
  
  <p>Any ideas?</p>