mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 01:47:48 +00:00
Allow _.compose to be called without arguments. [closes #352]
This commit is contained in:
2
dist/lodash.underscore.js
vendored
2
dist/lodash.underscore.js
vendored
@@ -3636,7 +3636,7 @@
|
||||
*/
|
||||
function compose() {
|
||||
var funcs = arguments,
|
||||
length = funcs.length || 1;
|
||||
length = funcs.length;
|
||||
|
||||
while (length--) {
|
||||
if (!isFunction(funcs[length])) {
|
||||
|
||||
Reference in New Issue
Block a user