title: What happens to a variable without the "var" keyword inside a function?
body: <p><code>function bla() { a=5; }</code></p>
  
  <p>Does <code>a</code> automatically become a global variable?</p>
  
  <p>And when exactly is it set? when the functions are being read for the first time and put into memory or only at the execution of the function?</p>