How to load 2 Javascript files async and run one after another?
<p>I have such structure:    </p>

<pre><code>&lt;script src="/Content/Scripts/1.js"&gt;&lt;/script&gt;
&lt;script async src="/Content/Scripts/2.js"&gt;&lt;/script&gt;
</code></pre>

<p>I need to load both files async and run 2.js file after 1.js. How could I do it? </p>

<p>If I add <code>async</code> to 2.js they will run at random.</p>