Reserved Words
The following words cannot be used as JavaScript variables, functions, methods, or object names:
JavaScript Keywords
|
break |
for |
throw |
|
case |
function |
try |
|
catch |
if |
typeof |
|
continue |
in |
var |
|
default |
instanceof |
void |
|
delete |
new |
while |
|
do |
return |
with |
|
else |
switch |
finally |
|
this |
|
|
JavaScript Reserved Keywords
|
abstract |
export |
long |
|
synchronized |
Boolean |
extends |
|
native |
throws |
byte |
|
final |
package |
transient |
|
char |
float |
private |
|
volatile |
class |
goto |
|
protected |
const |
implements |
|
public |
debugger |
import |
|
short |
double |
int |
|
static |
enum |
interface |
|
super |
|
|