title: Javascript Interpreter related
body: <p>I have a question regarding JavaScript Interpreter or can say compiler .</p>
  
  <pre><code>console.log("The future says:", future());
  
  function future() {
  return "You'll never have flying cars";
  }
  </code></pre>
  
  <p>so as the above example function was declared later before its been called to print. so my question is does this happen for all other identifier or just for functions , and why this function will work . please explain briefly 
  Thank you</p>