MCPcopy
hub / github.com/josdejong/mathjs / times

Function times

test/unit-tests/function/probability/randomInt.test.js:103–107  ·  view source on GitHub ↗
(n, callback)

Source from the content-addressed store, hash-verified

101}
102
103function times (n, callback) {
104 for (let i = 0; i < n; i++) {
105 callback()
106 }
107}
108
109function range (start, end) {
110 const array = []

Callers 1

randomInt.test.jsFile · 0.70

Calls 1

callbackFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…