Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 199 Bytes

range.md

File metadata and controls

9 lines (7 loc) · 199 Bytes

Array.range(begin, end)

Create an array of integer ranges from begin to end.
(end is not included.)

let arr = Array.range(1, 11);
console.log(arr); // [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ]