JavaScript 中的保留字是什么?
javascriptweb developmentfront end technology
保留字不能用作 JavaScript 变量、函数、方法、循环标签或任何对象名称。
以下是 JavaScript 中的保留字 −
| abstract | Else | instanceof | switch |
| boolean | Enum | int | synchronized |
| break | Export | interface | this |
| byte | Extends | long | throw |
| case | False | native | throws |
| catch | Final | new | transient |
| char | Finally | null | true |
| class | Float | package | try |
| const | For | private | typeof |
| continue | Function | protected | var |
| debugger | Goto | public | void |
| default | If | return | volatile |
| delete | implements | short | while |
| Do | Import | static | with |
| double | In | super |
相关文章
有用资源
javascript 参考教程 - 该教程包含有关 javascript 的更多信息:https://www.cainiaomax.com/javascript/

