摘要: console.log(Array.from(Array(Math.round(Math.random()*10)), (x,k) => ({item:x,key:k}) )); > Array [Object { item: undefined, key: 0 }, Object { item: 阅读全文
posted @ 2019-01-16 10:54 Hakuna__Matata 阅读(444) 评论(0) 推荐(0)