title: How to use const keyword (ecma 6) with function static variable in javascript
body: <p>I have a JavaScript function which has a static variable:</p>
  
  <pre><code>function Constants() {
  
  }
  
  Constants.i = '1';
  </code></pre>
  
  <p>Now according to ECMA 6 we have const keyword. Using this we can make a variable as immutable.</p>
  
  <p>I am not able to find how to use const keyword with function static variable, if I use like below it is not loading the function:</p>
  
  <pre><code>const Constant.i = '1';
  </code></pre>
  
  <p>It will be very helpful if anyone can suggest the proper way of doing the same.</p>