Words Reserved in Javascript

In Javascript few words cannot be used as variables, methods, functions or any kind of object names, below given is the list of all the reserved words.

abstract else instanceof switch
boolean enum int synchronized
break export interface this
byte extends long throw
case false native throws
catch final new transient
char finally null true
class float package try
const for private typeof
continue function protected var
debugger goto public void
default if return volatile
delete implements short while
do import static with
double in super

Leave a Reply

Your email address will not be published. Required fields are marked *