Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

4.4.3. Keywords¶

/*Attempting to use a keyword for anything other than it's intended 
use will result in an error. To see this, let's try to name a variable 
const.*/

let const;

/*let const
^^^^^

SyntaxError: Unexpected token const*/
Source by education.launchcode.org #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
2+2 =