title: Object.freeze() vs const
body: <p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/freeze" rel="noreferrer"><code>Object.freeze()</code></a> seems like a transitional convenience method to move towards using <code>const</code> in ES6. </p>
  
  <p>Are there cases where both take their place in the code or is there a preferred way to work with immutable data?</p>
  
  <p>Should I use <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/freeze" rel="noreferrer"><code>Object.freeze()</code></a> until the moment all browsers I work with support <code>const</code> then switch to using <code>const</code> instead?</p>