MCPcopy Create free account
hub / github.com/PrairieLearn/PrairieLearn / _range

Function _range

public/javascripts/async.js:100–102  ·  view source on GitHub ↗
(count)

Source from the content-addressed store, hash-verified

98 }
99
100 function _range(count) {
101 return _map(Array(count), function (v, i) { return i; });
102 }
103
104 function _reduce(arr, iterator, memo) {
105 _arrayEach(arr, function (x, i, a) {

Callers 2

_timesFunction · 0.85
async.jsFile · 0.85

Calls 1

_mapFunction · 0.85

Tested by

no test coverage detected