有没有办法使用 for-of 循环来分配给可迭代的元素?像这样的东西,它实际上会改变数组中元素的值。
for (let e of some_array) { e = new_value; }
杨魅力
相关分类