JavaScript Tutorial

Javascript Reserved Words

JavaScript has a number of reserved keywords. These are the words that we cannot use as identifiers (variable names, function names, and loop labels) in our JavaScript programs.

Reserved keywords in ECMAScript 5

The following list shows the keywords that are reserved in ECMAScript 5 and also includes keywords that are reserved for future as well as keywords that are disallowed in strict mode:-

arguments

Enum

instanceof

break

Eval

interface

case

Export

let

catch

Extends

new

class

False

null

const

finally

package

continue

For

private

debugger

function

protected

default

If

public

delete

Implements

Return

do

import

static

else

In

super

Reserved keywords in ECMAScript 6

The following list shows the keywords that are reserved in ECMAScript 6 and also includes keywords that are reserved for future as well as keywords that are disallowed in strict mode.

arguments

else

in

await

Enum

instanceof

break

eval

interface

case

export

let

catch

extends

new

class

false

null

const

finally

package

continue

for

private

debugger

function

protected

default

if

public

delete

implements

return

do

import

static

Future Reserved keywords in Older Standards

The following list shows the keywords that were reserved as future keywords by the older specifications (before ECMAScript 5 or ES5).

abstract

int

boolean

long

byte

native

char

short

double

synchronized

final

throws

float

transient

goto

volatile

Go back to Previous Course