1.Array.form(object) 注意点:object必须有length属性,key值必须是数字例如:obj = { 0: 'a', 1: 'b', 2: 'c' }
2.2.let arr = []; for(let i of obj){ arr.push(obj[i])}(obj为对象)