forEach (list=>{ if(list.name==='2'){ list = {a: 'hee'} //list.name = {a: 'hee'} 结果可以改变原数组 } }) console.log(arr) ...
確定! 回上一頁