MCPcopy Create free account
hub / github.com/appacademy/Module-1-Resources / range

Function range

w3/d2/eod.js:23–31  ·  view source on GitHub ↗
(start, end)

Source from the content-addressed store, hash-verified

21// }
22
23function range (start, end) {
24
25 debugger
26 if (start >= end) return [];
27
28 debugger
29 return [start].concat(range(start + 1, end))
30
31}
32
33
34

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected