MCPcopy
hub / github.com/stemkoski/stemkoski.github.com / getArray

Function getArray

MathBox/mathbox-bundle.js:35469–35471  ·  view source on GitHub ↗

* Gets an array from the array pool or creates a new one if the pool is empty. * * @private * @returns {Array} The array from the pool.

()

Source from the content-addressed store, hash-verified

35467 * @returns {Array} The array from the pool.
35468 */
35469 function getArray() {
35470 return arrayPool.pop() || [];
35471 }
35472
35473 /**
35474 * Gets an object from the object pool or creates a new one if the pool is empty.

Callers 6

baseCloneFunction · 0.85
baseIsEqualFunction · 0.85
baseUniqFunction · 0.85
mergeFunction · 0.85
sortByFunction · 0.85
intersectionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected