Solution: What does "use strict" do in JavaScript, and what is the reasoning behind it? #dev #it #computers
Solution: What does "use strict" do in JavaScript, and what is the reasoning behind it? #dev #it #computers
What does "use strict" do in JavaScript, and what is the reasoning behind it?
Recently, I ran some of my JavaScript code through Crockford’s JSLint, and it gave the following error:
Problem at line 1 character 1: Missing “use strict” statement.
Doing some searching, I realized that some people add "use strict";into their JavaScript code. Once I added the statement, the error stopped appearing.…
View On WordPress









