D | array-reduce.js | 107 var simpleArray = [2,4,6] variable 110 [[0, 2, 0, simpleArray, 2], 111 [2, 4, 1, simpleArray, 6], 112 [6, 6, 2, simpleArray, 12]], 113 simpleArray, sum, 0); 116 [[1, 2, 0, simpleArray, 2], 117 [2, 4, 1, simpleArray, 8], 118 [8, 6, 2, simpleArray, 48]], 119 simpleArray, prod, 1); 122 [[0, 2, 0, simpleArray, 200], [all …]
|