The chicken and the egg
<p>I have two very big functions, <code>a</code> and <code>b</code>, which are currently in one big JavaScript file. My goal is to have each function in a separate JavaScript file.</p>

<p>The problem is that <code>a</code> makes calls to <code>b</code>, and <code>b</code> makes calls to <code>a</code>, so that if I put both functions in different files, then one will be missing the definition of the other, and I get an error message and things break.</p>

<p>When they are in the same file, under the same closure, things don't break because of hoisting. How can I have the two functions in different files when each references the other?</p>
