var obj={name:"sss",arr:[1,2,3]} //undefined var abc=obj.arr //undefined abc.push(4) //4,改变abc,改变了原obj。因为是数组 obj //Object {name: "sjr", arr: Array[4]}
var obj={name:"sss",arr:[1,2,3]} //undefined var abc=obj.arr //undefined abc.push(4) //4,改变abc,改变了原obj。因为是数组 obj //Object {name: "sjr", arr: Array[4]}