MCPcopy
hub / github.com/requirejs/requirejs / makeArray

Function makeArray

tests/jquery/scripts/jquery-1.7.1.js:4761–4770  ·  view source on GitHub ↗
( array, results )

Source from the content-addressed store, hash-verified

4759}
4760
4761var makeArray = function( array, results ) {
4762 array = Array.prototype.slice.call( array, 0 );
4763
4764 if ( results ) {
4765 results.push.apply( results, array );
4766 return results;
4767 }
4768
4769 return array;
4770};
4771
4772// Perform a simple check to determine if the browser is capable of
4773// converting a NodeList to an array using builtin methods.

Callers 2

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