MCPcopy Create free account
hub / github.com/unconed/TermKit / makeArray

Function makeArray

HTML/jquery.js:4561–4570  ·  view source on GitHub ↗
( array, results )

Source from the content-addressed store, hash-verified

4559}
4560
4561var makeArray = function( array, results ) {
4562 array = Array.prototype.slice.call( array, 0 );
4563
4564 if ( results ) {
4565 results.push.apply( results, array );
4566 return results;
4567 }
4568
4569 return array;
4570};
4571
4572// Perform a simple check to determine if the browser is capable of
4573// converting a NodeList to an array using builtin methods.

Callers 2

SizzleFunction · 0.70
jquery.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected