Lesson 13: The final lesson, Reserved Words



List of 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

Then add to that, just to be safe: as, is, native and use as they may also be used in the next version of JavaScript (version 2.0).


Eventually you will learn exactly what all of these words do. You should recognize some of them already. Keep on coding and you will see most of them soon enough.


You should bookmark this page for reference as you will need to look at it until you get used to the list so you do not accidentally misuse one of these words.


This is the last lesson of the Beginner’s JavaScript Tutorial. Hopefully, our next JavaScript tutorial, the Intermediate JavaScript Tutorial, will be our next project. Best Regards and Happy Coding!

                    

Copyright © 2012 VisualBuilder. All rights reserved