In ECMAScript v5, javascript's reserved words are 3 parts: keywords, future reserved words, predefined global variable and function.
Keywords:
| break | do | instanceof | typeof | case | else |
| new | var | catch | finally | return | void |
| continue | for | switch | while | debugger | function |
| this | with | default | if | throw | delete |
| in | try |
Future reserved words:
| abstract | extends | native | throws | const | import |
| export | long | synchronized | class | implements | public |
| interface | super | char | goto | protected | enum |
| static | byte | float | private | volatile | int |
| boolean | final | package | transient | double | short |
Predefined tokens:
| arguments | encodeURI | Infinity | Object | String | Array |
| Error | isFinite | parseFloat | SyntaxError | Boolean | escape |
| isNaN | parseInt | TypeError | Date | eval | Math |
| RangeError | undefined | decodeURI | EvalError | NaN | ReferenceError |
| unescape | decodeURIComponent | Function | Number | RegExp | URIError |
| encodeURIComponent |
When you name your function or variable, avoid these tokens.






