JavaScript Reserved Words
ECMAScript Edition 3 Reserved Words
break | for | throw |
case | function | try |
catch | if | typeof |
continue | in | var |
deeeeeeefault | instanceof | void |
delete | new | while |
do | return | with |
else | switch | |
finally | this |
ES3 Future Reservered Words
abstract | final | protected |
boolean | float | public |
byte | goto | short |
char | implements | static |
class | import | super |
const | int | synchronized |
debugger | interface | throws |
double | long | transient |
enum | native | volatile |
export | package | |
extends | private |
ECMAScript Edition 5 Reserved Words
break | finally | this |
case | for | throw |
catch | function | try |
continue | if | typeof |
debugger | in | var |
default | instanceof | void |
delete | new | while |
do | return | with |
else | switch |
ES5 Future Reserved Words
class | import | public |
const | interface | static |
enum | let | super |
export | package | yield |
extends | private | |
implements | protected |
Other identifiers to avoid
abstract | get | prototype |
arguments | goto | RangeError |
Array | has | ReferenceError |
Boolean | include | RegExp |
byte | Infinity | rounding |
call | int | set |
cast | internal | short |
char | intrinsic | standard |
Date | is | strict |
decimal | isFinite | String |
decodeURI | isNaN | sychronized |
decodeURIComponent | JSON | SyntaxError |
double | like | throws |
dynamic | long | to |
each | Math | transient |
encodeURI | namespace | true |
encodeURICompenent | NaN | type |
Error | native | TypeError |
eval | null | uint |
EvalError | Number | undefined |
false | Object | URIError |
final | override | use |
float | parseFloat | volatile |
Function | parseInt | xml |
generator | precission |