The correct answers are A) and B). View functions are read-only functions, that do not modify state. Pure functions do not read or modify state variables.
正确答案是 A) 和 B)。视图函数是只读函数,不会修改状态。纯函数不读取或修改状态变量。
The correct answers are A) and B). View functions are read-only functions, that do not modify state. Pure functions do not read or modify state variables.
正确答案是 A) 和 B)。视图函数是只读函数,不会修改状态。纯函数不读取或修改状态变量。