Saturday, November 16, 2024
Google search engine
HomeLanguagesJavascriptJavaScript | Reserved Words

JavaScript | Reserved Words

In JavaScript, you cannot use these reserved words as variable names, label names, or function names.

Reserved Words:

abstract arguments boolean break byte
case catch char const continue
debugger default delete do double
else eval false final finally
float for function goto if
implements in instanceof int interface
long native new null package
private protected public return short
static switch synchronized this throw
throws transient true try typeof
var void volatile while with
yield        

Reserved Words added in ECMAScript 5 and 6:

awaits class enum export
extends import let super

Removed Reserved Words: The following reserved words have been removed from ECMAScript 5 and 6.

abstract boolean byte char
double final float goto
int long native short
synchronized throws transient volatile

Other Reserved Words: JavaScript can be used as the programming language in many applications.

alert all anchor area anchors
assign blur button checkbox clearInterval
clearTimeout clientInformation close closed confirm
constructor crypto decodeURI decodeURIComponent defaultStatus
document  element elements embed embeds
encodeURI encodeURIComponent escape event fileUpload
focus form forms frame innerHeight
innerWidth layer link location mimeTypes
navigate navigator frames frameRate  hidden
history image images offscreenBuffering open
opener option outerWidth outerHeight packages
pageXOffset pageYOffset parent parseFloat parseInt
password pkcs11 plugin prompt propertyIsEnum
radio reset screenX screenY scroll
secure select self setInterval setTimeout
status submit taint text textarea

HTML Event Handlers: The name of all HTML event handlers  should not be used in javascript

onblur onclick onerror
onfocus onkeydown onkeypress
onkeyup  onmouseover onload
onmouseup onmousedown onsubmit
Whether you’re preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, neveropen Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we’ve already empowered, and we’re here to do the same for you. Don’t miss out – check it out now!

RELATED ARTICLES

Most Popular

Recent Comments