What is the proper way to format a JavaScript tag?

前端 未结 1 1271
無奈伤痛
無奈伤痛 2021-02-19 20:55

Having developed web apps since 1996 I often find new ways of doing old things. So I was wondering what is the proper JavaScript tag to use on new development?

Currently

相关标签:
1条回答
  • 2021-02-19 21:35

    Checkout what Crockford has to say. In summary:

    <script src="url"></script>
    
    0 讨论(0)
提交回复
热议问题