What does “use strict” do in JavaScript, and what is the reasoning behind it?stackoverflow.com 2 pointsFletch13711 years ago1 commentSaveHideCopy link On HNComments−f0064411yIt'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.
Comments
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.