Reserved Words
This is the complete list of reserved words in JavaScript. Do not use them as an identifier (for the name of a variable, for the name of a function).
abstract | Reserved for later use. |
boolean | Reserved for later use. |
break | JavaScript statement |
byte | Reserved for later use. |
case | JavaScript statement |
catch | JavaScript statement |
char | Reserved for later use. |
class | Reserved for later use. |
const | JavaScript statement |
continue | JavaScript statement |
debugger | JavaScript statement |
default | JavaScript statement |
delete | JavaScript operator |
do | JavaScript statement |
double | Reserved for later use. |
each | JavaScript statement |
else | JavaScript statement |
enum | Reserved for later use. |
export | JavaScript statement |
extends | Reserved for later use. |
false | Primitive boolean value |
final | Reserved for later use. |
finally | JavaScript statement |
float | Reserved for later use. |
for | JavaScript statement |
function | JavaScript statement |
get | JavaScript operator |
goto | Reserved for later use. |
if | JavaScript statement |
implements | Reserved for later use. |
import | JavaScript statement |
in | Can be a part of a JavaScript statement (for...in), for each...in) or an operator (in operator). |
instanceof | JavaScript operator |
int | Reserved for later use. |
interface | Reserved for later use. |
long | Reserved for later use. |
native | Reserved for later use. |
new | JavaScript operator |
null | The null object is a special JavaScript object. It does not have any members. Typically the DOM methods use this object as a return value if the required structure does not exist. For example, document.getElementById ("test") returns null if the document does not have an element with id 'test'. |
package | Reserved for later use. |
private | Reserved for later use. |
protected | Reserved for later use. |
public | Reserved for later use. |
return | JavaScript statement |
set | JavaScript operator |
short | Reserved for later use. |
static | Reserved for later use. |
super | Reserved for later use. |
switch | JavaScript statement |
synchronized | Reserved for later use. |
this | JavaScript statement |
throw | JavaScript statement |
throws | Reserved for later use. |
transient | Reserved for later use. |
true | Primitive boolean value |
try | JavaScript statement |
typeof | JavaScript operator |
var | JavaScript statement |
void | JavaScript operator |
volatile | Reserved for later use. |
while | JavaScript statement (while or do...while) |
with | JavaScript statement |
User Contributed Comments