- 属性要为索引属性
- 必须要有length属性
- 最好加上push方法
var obj = {
"0":"a",
"1":"b",
"length":2,
"push":Array.prototype.push,
"splice":Array.prototype.splice
}
var obj = {
"0":"a",
"1":"b",
"length":2,
"push":Array.prototype.push,
"splice":Array.prototype.splice
}