摘要: let a = 1 let b = a b = 3 console.log(b) // 3 这是赋值(非要说就是深拷贝) let arr = [1, 2, 3] let newArr = arr newArr.push(4) console.log(newArr) // 1,2,3,4 consol 阅读全文
posted @ 2022-04-28 20:55 TM_cc 阅读(29) 评论(0) 推荐(0)