I have a simple situation:
<script src="1.js"></script>
<script src="2.js"></script>
I want 1.js to load another javascript 3.js in and execute it before 2.js. I can not change the html, I can only change the 1.js code。
I tried to make a synchronize ajax call in 1.js, but still 3.js is loaded after 2.js.
Any other solution ?