正文

在JavaScript中,改变函数中引用变量的值取决于变量是值类型还是引用类型。 1. **值类型(基本数据类型)**: - 值类型包括:`number`、`string`、`boolean`、`undefined`、`null`、`BigInt`和`Symbol`。 -