Friday, December 14, 2012

Javascript: Reserved words

Javascript: Reserved words

In JavaScript, reserved words are a combination of keywords used for JavaScript and words that are reserved for use in future versions of JavaScript. You must be extremely careful not to use reserved words for the names of variables, functions, methods, or objects. The list of reserved words generally includes 59 different words, we also added a couple that the programmers are not sure about yet. The typical list of 59 reserved words is as follows.



List of Reserved Words: (in alphabetical order)
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

No comments:

Post a Comment