Fix spread doc and remove unused thisArg.

This commit is contained in:
jdalton
2015-02-12 01:59:16 -08:00
parent 5d4ba820dd
commit 10ee3585f6

View File

@@ -7815,7 +7815,7 @@
* @static
* @memberOf _
* @category Function
* @param {Function} The function to spread arguments over.
* @param {Function} func The function to spread arguments over.
* @returns {*} Returns the new function.
* @example
*
@@ -7839,7 +7839,7 @@
* numbers.then(_.spread(add));
* // => a Promise of 76
*/
function spread(func, thisArg) {
function spread(func) {
if (typeof func != 'function') {
throw new TypeError(FUNC_ERROR_TEXT);
}