Explanation Asked About a Range function

后端 未结 0 1328
说谎
说谎 2021-01-29 22:26

Here goes the code:

const range = (start, stop) =>
 new Array(stop - start).fill(0).map((v, i) => start + i);

What purpose does sto

相关标签:
回答
  • 消灭零回复
提交回复
热议问题