Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
What does “use strict” do in JavaScript, and what is the reasoning behind it?
(
stackoverflow.com
)
2 points
by
Fletch137
on Aug 21, 2015
|
hide
|
past
|
favorite
|
1 comment
f00644
on Aug 21, 2015
[–]
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.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: