for循环
var a = [];
for(var n = 0; n < 100; n++) {
a[n] = 0
}
es6 fill()
new Array(100).fill(0)
map()
let arr = new Array(100)
arr.map(item=>{
return 0
} )
var a = [];
for(var n = 0; n < 100; n++) {
a[n] = 0
}
new Array(100).fill(0)
let arr = new Array(100)
arr.map(item=>{
return 0
} )