const hours = new Array(24).fill('').map((_, index) => +index + 1)
return hours.slice(startHour)
标签:24,map,www,index,hours,fill
From: https://www.cnblogs.com/zongkm/p/16641064.html
const hours = new Array(24).fill('').map((_, index) => +index + 1)
return hours.slice(startHour)
标签:24,map,www,index,hours,fill
From: https://www.cnblogs.com/zongkm/p/16641064.html