Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

JavaScript Use Strict

"use strict";
myFunction();

function myFunction() {
  y = 3.14;   // This will also cause an error because y is not declared
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #JavaScript #Use #Strict
ADD COMMENT
Topic
Name
5+3 =