Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
如何将实例变量的数值存到数组里去?
设置给数组的时候引用实例变量不就好了吗 ,如果你想问的是如何一键存到数组里,那办不到,有几个实例变量就要写几条设置数组元素值的动作,这点是不能省的,能省的是所有实例都做类似操作,这点可以通过遍历循环所有同对象的实例来做