Reduce with empty erray vs Reduce with filled array vs Reduce with filled array with null vs Reduce with new Array vs Reduce with var| Test case name | Result |
|---|---|
| Reduce with empty erray | |
| Reduce with filled array | |
| Reduce with filled array with null | |
| Reduce with new Array | |
| Reduce with var |
| Test name | Executions per second |
|---|---|
| ✓ Reduce with filled array | 8,106 Ops/sec |
| Reduce with var | 7,601 Ops/sec |
| Reduce with empty erray | 7,457 Ops/sec |
| Reduce with filled array with null | 6,771 Ops/sec |
| Reduce with new Array | 6,544 Ops/sec |