Skip to content

Commit

Permalink
Merge f126f19 into 5500925
Browse files Browse the repository at this point in the history
  • Loading branch information
marijaselakovic committed Apr 14, 2016
2 parents 5500925 + f126f19 commit fbe3901
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion underscore.js
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@
var idx = output.length;
for (var i = 0, length = getLength(input); i < length; i++) {
var value = input[i];
if (isArrayLike(value) && (_.isArray(value) || _.isArguments(value))) {
if ((_.isArray(value) || _.isArguments(value)) && isArrayLike(value)) {
// Flatten current level of array or arguments object.
if (shallow) {
var j = 0, len = value.length;
Expand Down

0 comments on commit fbe3901

Please sign in to comment.