diff --git a/underscore.js b/underscore.js index 478a6b7bc..f98d56c47 100644 --- a/underscore.js +++ b/underscore.js @@ -381,7 +381,7 @@ var results = []; // The `isSorted` flag is irrelevant if the array only contains two elements. if (array.length < 3) isSorted = true; - _.reduce(initial, function (memo, value, index) { + _.reduce(initial, function(memo, value, index) { if (isSorted ? _.last(memo) !== value || !memo.length : !_.include(memo, value)) { memo.push(value); results.push(array[index]); @@ -888,7 +888,7 @@ }; // Run a function **n** times. - _.times = function (n, iterator, context) { + _.times = function(n, iterator, context) { for (var i = 0; i < n; i++) iterator.call(context, i); };