TE
科技回声
首页
24小时热榜
最新
最佳
问答
展示
工作
中文
GitHub
Twitter
首页
What does “use strict” do in JavaScript, and what is the reasoning behind it?
2 点
作者
Fletch137
超过 9 年前
1 comment
f00644
超过 9 年前
It's basically a safer way to write javascript code. The browser/interpreter will complain a lot more when the code runs. Similar to how a js linter would moan.