Including a JavaScript file in another JavaScript file <p>I am a newbie in developing JavaScript libraries. I've a basic doubt on how to include a <code>js</code> file into another <code>js</code> file that is dependent on the former. For example, I'm building a javascript library that replicates the class structures present in the Server code.There are cases for example, where class <code>B</code> is contained in class <code>A</code>. I want to make a seperate js file to denote class <code>B</code> and then include this in the definition of class <code>A</code>. How do I go about this ?</p> <p>I appreciate your help.</p> <p>Thanks!</p>