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

Function descending

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

Source from the content-addressed store, hash-verified

2907 }
2908
2909 function descending(n) {
2910 var out = new Array(n);
2911 for (var i = 0; i < n; i++) {
2912 out[i] = n - 1 - i;
2913 }
2914 assertDescending(out);
2915 return out;
2916 }
2917
2918 function rand(n) {
2919 Lib.seedPseudoRandom();

Callers 1

lib_test.jsFile · 0.85

Calls 1

assertDescendingFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…