📜  打字稿范围 - 打字稿代码示例

📅  最后修改于: 2022-03-11 14:48:21.636000             🧑  作者: Mango

代码示例3
const range = (start, end) => Array.from({length: (end - start)}, (v, k) => k + start);