非常明显的问题......在javascript中对数组使用.push()时,无论类型如何,对象都会将指针(浅)或实际对象(深)推入数组.
javascript arrays push
arrays ×1
javascript ×1
push ×1