关键字有:break、do、instanceof、typeof、case、else、new、var、catch、finally、return、void、continue、for、switch、while、if、try、this、with等。

本教程操作环境:windows7系统、javascript1.8.5版、Dell G3电脑。
JavaScript中关键字和保留字
不能把关键字、保留字、true、false和null用作标识符。
JavaScript中的关键字可用于表示控制语句的开始或结束,或者用于执行特定操作等。按照规则,关键字也是语言保留的,不能用作标识符。
立即学习“Java免费学习笔记(深入)”;
关键字
| break | do | instanceof | typeof | case |
| else | new | var | catch | finally |
| return | void | continue | for | switch |
| while | default | if | throw | delete |
| in | try | function | this | with |
| debugger | false | true | null |
保留字
| class | enum | extends | super |
| export | import | impelements | let |
| public | yield | interface | package |
| static | const |
更多编程相关知识,请访问:编程视频!!











