js生成指定长度的数组

let a = new Array(100).join(',').split(',')

猜你喜欢

转载自blog.csdn.net/bangbDIV/article/details/90692290