发布于 2年前

js 生成一个带有数字的列表

Array.from({ length: 1000 }, (v, i) => i)
// [0, 1, 2, 3, 4, 5, 6....999]
©2020 edoou.com   京ICP备16001874号-3