Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Reserved keywords in JavaScript

What JavaScript keywords (function names, variables, etc) are reserved?

like image 405
titanous Avatar asked Oct 09 '22 11:10

titanous


1 Answers

Here is my poem, which includes all of the reserved keywords in JavaScript, and is dedicated to those who remain honest in the moment, and not just try to score:

Let this long package float, 
Goto private class if short.
While protected with debugger case,  
Continue volatile interface.
Instanceof super synchronized throw, 
Extends final export throws.  

Try import double enum?  
- False, boolean, abstract function, 
Implements typeof transient break!
Void static, default do,  
Switch int native new. 
Else, delete null public var 
In return for const, true, char
…Finally catch byte.
like image 1496
art4theSould Avatar answered Oct 10 '22 23:10

art4theSould