About variables

The variable is actually the index of the object

When you assign a value to a variable, you actually assign the index of the object to the variable.

Including numbers, characters, strings, and new are all objects

When reassigning a string variable, only the index of the changed variable is changed, and the original string object is not changed.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325257773&siteId=291194637
Recommended