title: Why does JavaScript's null coalescing operator (||) not work with es6 variables (let/const)?
body: <p>Why does <code>var APP = APP || {};</code> work fine, but <code>const APP = APP || {};</code> not? Or <code>let APP = APP || {}</code> for that matter.</p>
  
  <pre><code>Uncaught ReferenceError: APP is not defined
  </code></pre>
  
  <p>As this only has to do with the evaluation of APP and not anything of what it is set to.</p>