MCPcopy Create free account
hub / github.com/jashkenas/underscore / shuffle

Function shuffle

underscore.js:1587–1589  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

1585
1586 // Shuffle a collection.
1587 function shuffle(obj) {
1588 return sample(obj, Infinity);
1589 }
1590
1591 // Sort the object's values by a criterion produced by an iteratee.
1592 function sortBy(obj, iteratee, context) {

Callers

nothing calls this directly

Calls 1

sampleFunction · 0.70

Tested by

no test coverage detected