Open dragonwong opened 5 years ago
1. 快速生成有序递增数组
// 生成 0 ~ 23 的数组 const HOURS = [...Array(24).keys()];
1. 快速生成有序递增数组