MCPcopy
hub / github.com/lodash/lodash / toArgs

Function toArgs

test/test.js:510–512  ·  view source on GitHub ↗

* Converts `array` to an `arguments` object. * * @private * @param {Array} array The array to convert. * @returns {Object} Returns the converted `arguments` object.

(array)

Source from the content-addressed store, hash-verified

508 * @returns {Object} Returns the converted `arguments` object.
509 */
510 function toArgs(array) {
511 return (function() { return arguments; }.apply(undefined, array));
512 }
513
514 /*--------------------------------------------------------------------------*/
515

Callers 1

test.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected