|
|
1
0
意味着当你分配
https://codeburst.io/explaining-value-vs-reference-in-javascript-647a975e12a0 为了解决你的问题你应该用这个
|
|
2
0
解决方法是使用适当的变量声明:
|