MCPcopy Create free account
hub / github.com/plotly/plotly.js / rand

Function rand

test/jasmine/tests/lib_test.js:2918–2925  ·  view source on GitHub ↗
(n)

Source from the content-addressed store, hash-verified

2916 }
2917
2918 function rand(n) {
2919 Lib.seedPseudoRandom();
2920 var out = new Array(n);
2921 for (var i = 0; i < n; i++) {
2922 out[i] = Lib.pseudoRandom();
2923 }
2924 return out;
2925 }
2926
2927 function assertAscending(array) {
2928 for (var i = 1; i < array.length; i++) {

Callers 1

lib_test.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…