JavaScript Reserved Words



The JavaScript support various type of reserved keyword like other programming languages which we can not use while creating variable name and function name. We should avoid such type of keywords.


Reserved keywords of the JavaScript
char    finally    new   
default   if   public   
void    double    in   
static    with    while   
short    import    do   
volatile    return    implements   
delete    abstract    else   
instanceof    super    boolean   
enum    int    switch   
synchronized    interface    export   
break    case    false   
long    throw    catch   
final    native    throws   
this    extends    byte   
let    class    float   
transient    true    null   
const    for    package   
try    typeof    private   
continue    function    protected   
debugger    goto    var   

JavaScript keywords used in objects, methods, or properties
alert frames outerHeight
all frameRate outerWidth
anchor function packages
anchors getClass pageXOffset
area hasOwnProperty pageYOffset
Array hidden parent
assign history parseFloat
blur image parseInt
button images password
checkbox Infinity pkcs11
clearInterval isFinite plugin
clearTimeout isNaN prompt
clientInformation isPrototypeOf propertyIsEnum
close java prototype
closed JavaArray radio
confirm JavaClass reset
constructor JavaObject screenX
crypto JavaPackage screenY
Date innerHeight scroll
decodeURI innerWidth secure
decodeURIComponent layer select
defaultStatus layers self
document length setInterval
element link setTimeout
elements location status
embed Math String
embeds mimeTypes submit
encodeURI name taint
encodeURIComponent NaN text
escape navigate textarea
eval navigator top
event Number toString
fileUpload Object undefined
focus offscreenBuffering unescape
form open untaint
forms opener valueOf
frame option window