ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
### 标识符(就是变量名,函数名,属性名)的命名规则 - 1.关键字和保留字不能作为命名 | [abstract](https://baike.baidu.com/item/abstract) | [assert](https://baike.baidu.com/item/assert) | [boolean](https://baike.baidu.com/item/boolean) | break | [byte](https://baike.baidu.com/item/byte) | | ----------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------- | ----------------------------------------------------- | --------------------------------------------- | | case | [catch](https://baike.baidu.com/item/catch) | [char](https://baike.baidu.com/item/char) | [class](https://baike.baidu.com/item/class) | const | | continue | [default](https://baike.baidu.com/item/default) | [do](https://baike.baidu.com/item/do) | [double](https://baike.baidu.com/item/double) | [else](https://baike.baidu.com/item/else) | | [enum](https://baike.baidu.com/item/enum) | [extends](https://baike.baidu.com/item/extends) | [final](https://baike.baidu.com/item/final) | [finally](https://baike.baidu.com/item/finally) | float | | true | false | null | | | | [for](https://baike.baidu.com/item/for) | goto | [if](https://baike.baidu.com/item/if) | [implements](https://baike.baidu.com/item/implements) | [import](https://baike.baidu.com/item/import) | | [instanceof](https://baike.baidu.com/item/instanceof) | [int](https://baike.baidu.com/item/int) | [interface](https://baike.baidu.com/item/interface) | long | native | | new | [package](https://baike.baidu.com/item/package) | [private](https://baike.baidu.com/item/private) | [protected](https://baike.baidu.com/item/protected) | [public](https://baike.baidu.com/item/public) | | [return](https://baike.baidu.com/item/return) | [strictfp](https://baike.baidu.com/item/strictfp) | [short](https://baike.baidu.com/item/short) | [static](https://baike.baidu.com/item/static) | [super](https://baike.baidu.com/item/super) | | [switch](https://baike.baidu.com/item/switch) | [synchronized](https://baike.baidu.com/item/synchronized) | [this](https://baike.baidu.com/item/this) | [throw](https://baike.baidu.com/item/throw) | [throws](https://baike.baidu.com/item/throws) | | [transient](https://baike.baidu.com/item/transient) | try | [void](https://baike.baidu.com/item/void) | [volatile](https://baike.baidu.com/item/volatile) | while | - 2.由字母,数字,下划线(_)或美元符号($)组成 - 3.不能以数字开头 - 4.不能包含算术运算符,或特殊字符(#,etc)