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

改进CarSpawn.js的编码结构 #1

Open
Stir-Fried-Rice-Noodles opened this issue Nov 20, 2024 · 0 comments
Open

改进CarSpawn.js的编码结构 #1

Stir-Fried-Rice-Noodles opened this issue Nov 20, 2024 · 0 comments

Comments

@Stir-Fried-Rice-Noodles

修正了一些过时,繁重的代码,且让语法更符合JS编写规范
提交文件:CarSpawn.zip

主要更改

  • 改用let const声明变量
  • GAME更名为HOST,与其适应最新版 redux 程序
  • 修正代码嵌套层级,不让函数在块级作用域中声明
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

1 participant