Lines Matching defs:dec
102 function dec(a, b, i, arr) { return a + b * Math.pow(10, arr.length - i - 1); }
125 simpleArray, dec, 0);
136 testReduce("reduce", "EmptyReduceDec", 0, [], [], dec, 0);
141 testReduce("reduce", "EmptyReduceDecNoInit", 0, [], [0], dec);
162 simpleSparseArray, dec, 0);
173 testReduce("reduce", "EmptySparseReduceDecNoInit", 0, [], [,,0,,], dec);
203 verySparseArray, dec, 0);
226 verySparseArray, dec);
253 simpleArray, dec, 0);
264 testReduce("reduceRight", "EmptyReduceRightDec", 0, [], [], dec, 0);
270 testReduce("reduceRight", "EmptyReduceRightDecNoInit", 0, [], [0], dec);
291 simpleSparseArray, dec, 0);
305 0, [], [,,0,,], dec);
334 verySparseArray, dec, 0);
357 verySparseArray, dec);