JavaScript中不能作为变量名的关键字总结:
1、js中的关键字:
break | case | catch | continue | default |
delete | do | else | finally | for |
function | if | in | instanceof | new |
return | switch | this | throw | try |
typeof | var | void | while | with |