网站介绍:function(){ "use strict"; //....往下的代码都会开启js strict 模式}use js strict mode 的好处:point1-检查json中重复的键: e.g : { a:1,a:1 //会报错了 }point2-检查函数中重复的参数: ..._"!function(e) { \"use strict\";"
- 链接地址:https://blog.csdn.net/tangcc110/article/details/80001512
- 链接标题:javascript中写插件用use strict的好处_"!function(e) { \"use strict\";"-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:8792
- 网站标签:"!function(e) { \"use strict\";"