document.createElement(“script”) synchronously

前端 未结 11 2269
执念已碎
执念已碎 2020-11-22 12:56

Is it possible to call in a .js file synchronously and then use it immediately afterward?



        
11条回答
  •  天涯浪人
    2020-11-22 13:55

    This looks like a decent overview of dynamic script loading: http://unixpapa.com/js/dyna.html

提交回复
热议问题