Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

SyntaxError

/*Occurs when trying to parse syntactically invalid code.*/

console.log("hello";
            
/*The call to console.log does not have a required close parenthesis.*/
Source by education.launchcode.org #
 
PREVIOUS NEXT
Tagged: #SyntaxError
ADD COMMENT
Topic
Name
9+1 =