Test case name | Result |
---|---|
native | |
ES5 forEach (cannot break;) | |
ES5 for-in | |
ES6 for-of | |
native (length in var) | |
native (length in let) |
Test name | Executions per second |
---|---|
native | 1663103.0 Ops/sec |
ES5 forEach (cannot break;) | 9369764.0 Ops/sec |
ES5 for-in | 724155.6 Ops/sec |
ES6 for-of | 898676.4 Ops/sec |
native (length in var) | 2072732.0 Ops/sec |
native (length in let) | 2515309.0 Ops/sec |