JAVASCRIPT

 Home  Computers & Internet  Web Programming JAVASCRIPT
What is Javascript?
Javascript Placement
Syntax
Reserved Words
Variables
Data Types
Escaping Characters
Concatenation
Arithmetic Operators
Assignment Operators
Comparison Operators
Boolean Operators
Conditional Operator
If Statements
Else If Statements
If Else Statements
Switch Statements
While Loops
For Loops
Do While Loops
Break Statement
Continue Statement
prompt()
alert()
Date()
Event Handlers
String Object Methods
Math Object Methods
Window Object Methods

JAVASCRIPT RESERVED WORDS

The javascript language, like any other, has certain reserved words that are used as part of the in-built javascript syntax. Therefore, these words cannot be used in functions, variables or labels.

If these words are used by mistake, errors occur and your code ceases to work.

These reserved words are:

breakcasecontinuedefault
deletedoelseexport
falseforfunctionif
importinnewnull
returnswitchthistrue
typeofvarvoidwhile
with


Javascript also reserves the following words for inclusion in the javascript syntax at some later point in future. Therefore you may also not use these words at all in your javascript programming projects:

abstractbooleanbytecatch
charclassconstdebugger
doubleenumextendsfinal
finallyfloatgotoimplements
instanceofintinterfacelong
nativepackageprivateprotected
publicshortstaticsuper
synchronisedthrowthrowstransient
try

Home | Privacy Policy | Terms Of Use | Contact Us