mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-10 10:57:49 +00:00
reverting a non-important change that broke reduceRight in IE.
This commit is contained in:
@@ -79,8 +79,6 @@ $(document).ready(function() {
|
|||||||
ok(_.reduce(null, function(){}, 138) === 138, 'handles a null (with initial value) properly');
|
ok(_.reduce(null, function(){}, 138) === 138, 'handles a null (with initial value) properly');
|
||||||
|
|
||||||
// Sparse arrays:
|
// Sparse arrays:
|
||||||
equals(_.reduce([], function(){}, undefined), undefined, 'undefined can be passed as a special case');
|
|
||||||
|
|
||||||
var sparseArray = [];
|
var sparseArray = [];
|
||||||
sparseArray[100] = 10;
|
sparseArray[100] = 10;
|
||||||
sparseArray[200] = 20;
|
sparseArray[200] = 20;
|
||||||
|
|||||||
Reference in New Issue
Block a user