Test name | Executions per second |
---|---|
for...in | 29397.5 Ops/sec |
Object.keys+forEach (ES5) | 21598.5 Ops/sec |
for...of - keys (ES6) | 21942.2 Ops/sec |
for...of - values (ES6) | 42381.7 Ops/sec |
for...of - entries (ES8) | 12698.4 Ops/sec |
Object.entries (ES8) | 16530.3 Ops/sec |