阅读背景:

其他变量无缘无故变化 - javascript

来源:互联网 

I have a function where i loop through 2 arrays and do some logic. My issue is when i change one of the object properties in the array, they also change my base object variable and all other objects in the entire of both arrays. Even though i only want to edit specific objects properties. I dont want to paste the entire code so i will show you my vital function but also leave a link to my entire code.I have a function where i loop through 2 arrays




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: