Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

命令,是否应该改为 关键字 #946

Closed
qinhanlei opened this issue Jan 21, 2020 · 1 comment
Closed

命令,是否应该改为 关键字 #946

qinhanlei opened this issue Jan 21, 2020 · 1 comment

Comments

@qinhanlei
Copy link

建议使用关键字这个更合适的术语,如 TypeScript 官网文档所示:

Variable Declarations

Declaring a variable in JavaScript has always traditionally been done with the var keyword.

By now you’ve figured out that var has some problems, which is precisely why let statements were introduced. Apart from the keyword used, let statements are written the same way var statements are.

@ruanyf
Copy link
Owner

ruanyf commented Jan 24, 2020

关键字分成不同用途,有的是命令(delete),有的是语言结构(比如if),我想区分这两者。

@ruanyf ruanyf closed this as completed Jan 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants