* Converts `array` to an `arguments` object. * * @private * @param {Array} array The array to convert. * @returns {Object} Returns the converted `arguments` object.
(array)
| 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 |