Appendix¶
Reserved Keywords¶
JavaScript statements often start with a keyword to identify the JavaScript action to be performed. JavaScript keywords are reserved words that cannot be used as variable names or functions. The table below is a list of the most common JavaScript reserved keywords.
JavaScript Reserved Keywords
abstract |
else |
instanceof |
super |
boolean |
enum |
int |
switch |
break |
export |
interface |
synchronized |
byte |
extends |
let |
this |
case |
false |
long |
throw |
catch |
final |
native |
throws |
char |
finally |
new |
transient |
class |
float |
null |
true |
const |
for |
package |
try |
continue |
function |
private |
typeof |
debugger |
goto |
protected |
var |
default |
if |
public |
void |
delete |
implements |
return |
volatile |
do |
import |
short |
while |
double |
in |
static |
with |