Javascript simple performance issues and study notes

  • 2020-03-30 01:34:59
  • OfStack

< Script type="text/javascript" SRC ="file1.js" defer />  

, test the defer attribute example:


<script defer>alert("defer");</script>  
<script>alert("script");</script>  
<script>  
window.onload = function() {  
alert("load");  
};  
</script>

Time is limited, so let's do that today


Related articles: