* Gets an object from the object pool or creates a new one if the pool is empty. * * @private * @returns {Object} The object from the pool.
()
| 35477 | * @returns {Object} The object from the pool. |
| 35478 | */ |
| 35479 | function getObject() { |
| 35480 | return objectPool.pop() || { |
| 35481 | 'array': null, |
| 35482 | 'cache': null, |
| 35483 | 'criteria': null, |
| 35484 | 'false': false, |
| 35485 | 'index': 0, |
| 35486 | 'null': false, |
| 35487 | 'number': null, |
| 35488 | 'object': null, |
| 35489 | 'push': null, |
| 35490 | 'string': null, |
| 35491 | 'true': false, |
| 35492 | 'undefined': false, |
| 35493 | 'value': null |
| 35494 | }; |
| 35495 | } |
| 35496 | |
| 35497 | /** |
| 35498 | * Releases the given array back to the array pool. |
no outgoing calls
no test coverage detected