MCPcopy
hub / github.com/dataarts/dat.gui / makeArray

Function makeArray

tests/jquery.js:4631–4640  ·  view source on GitHub ↗
( array, results )

Source from the content-addressed store, hash-verified

4629}
4630
4631var makeArray = function( array, results ) {
4632 array = Array.prototype.slice.call( array, 0 );
4633
4634 if ( results ) {
4635 results.push.apply( results, array );
4636 return results;
4637 }
4638
4639 return array;
4640};
4641
4642// Perform a simple check to determine if the browser is capable of
4643// converting a NodeList to an array using builtin methods.

Callers 2

SizzleFunction · 0.85
jquery.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…