Lines Matching refs:toObject
33 PASS toObject([0,1,2,3]).reduce(function(a,b){ return a + b; }) is 6
34 PASS toObject([1,2,3]).reduce(function(a,b){ return a + b; }) is 6
35 PASS toObject([0,1,2,3]).reduce(function(a,b){ return a + b; }, 4) is 10
36 PASS toObject([1,2,3]).reduce(function(a,b){ return a + b; }, 4) is 10
42 PASS toObject(sparseArray).reduce(function(a,b){ return a + b; }, 0) is 10
44 PASS toObject(sparseArray).reduce(function(a,b){ callCount++; }); callCount is 0
46 PASS toObject(sparseArray).reduce(function(a,b){ callCount++; }, 0); callCount is 1
51 PASS toObject([1, 2, 3, 4]).reduce(function(a,b, i, thisObj){ thisObj.length--; callCount++; return…
52 PASS toObject([1, 2, 3, 4]).reduce(function(a,b, i, thisObj){ thisObj.length++; callCount++; return…
54 PASS toObject([[0,1], [2,3], [4,5]]).reduce(function(a,b) {return a.concat(b);}, []) is [0,1,2,3,4,…
55 PASS toObject([0,1,2,3,4,5]).reduce(function(a,b,i) {return a.concat([i,b]);}, []) is [0,0,1,1,2,2,…