Array.from({ length: 30 }, (_, i) => 1 + (i)) // 1-30
Array(100).toString().split(',').map((item,index)=>index) //0-30
網(wǎng)站參考:https://blog.csdn.net/zihong2019/article/details/119645695
Array.from({ length: 30 }, (_, i) => 1 + (i)) // 1-30
Array(100).toString().split(',').map((item,index)=>index) //0-30
網(wǎng)站參考:https://blog.csdn.net/zihong2019/article/details/119645695