title: Can javascript run multiple functions at once?
body: <p>Is it possible to call multiple functions at the same time?</p>
  
  <p>E.g.</p>
  
  <pre><code>var executed = false;
  // loop 1
  func();
  // loop 2
  func();
  
  function func(){
      if (executed) return;
      executed = true;
      alert(1);
  }
  </code></pre>
  
  <p>Can func() be executed 2 times at once?</p>