JavaScript Reserved Words
The following table shows JavaScript reserved words and may not be used as variables, functions, methods or identifiers.
JavaScript Reserved Words | |||
---|---|---|---|
abstract | boolean | break | byte |
case | catch | char | class |
const | continue | debugger | default |
delete | do | double | else |
enum | export | extends | false |
final | finally | float | for |
function | goto | if | implements |
import | in | instanceof | int |
interface | long | native | new |
null | package | private | protected |
public | return | short | static |
super | switch | synchronized | this |
throw | throws | transient | true |
try | typeof | var | void |
volatile | while | with | alert |
confirm | isFinite | onBlur | onFocus |
toString | TextArea | Text | math |
onLoad | Window | scroll | Image |
setTimeout | Button | Date | Anchor |
Hidden | stop | clearTimeout | ref |