I have a read only array that i copied to become a mutable array let mutableForecast = [...forecast] I am taking that new array and iterating through it with

首页 > 解决方案 > 遍历执行switch语句的数组返回TypeError:无法分配给对象'#的只读属性'location''

I have a read only array that i copied to become a mutable array let mutableForecast = [...forecast] I am taking that new array and iterating through it with