240 发简信
IP属地:四川
  • 关于JS数组和对象的深拷贝

    数组的浅拷贝: var arr = [1,2,3];var newArr = arr;newArr[0] = 4;console.log(arr...