JavaScript Reserved Words

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

External

Internal

Overview

Reserved words cannot be used as variables, labels, or function names.

Reserved Words

abstract

arguments

await

ECMAScript 5 and 6.

boolean

break

byte

case

catch

char

class

ECMAScript 5 and 6.

const

continue

debugger

default

delete

do

double

else

enum

ECMAScript 5 and 6.

eval

export

ECMAScript 5 and 6.

extends

ECMAScript 5 and 6.

false

final

finally

float

for

function

goto

if

implements

import

in

instanceof

int

interface

let

ECMAScript 5 and 6.

long

native

new

null

package

private

protected

public

return

short

static

super

ECMAScript 5 and 6.

switch

synchronized

this

throw

throws

transient

true

try

typeof

var

void

volatile

while

with

yield