for in with hasOwnProperty vs for of with Object.entries| Test case name | Result |
|---|---|
| for in with hasOwnProperty | |
| for of with Object.entries |
| Test name | Executions per second |
|---|---|
| ✓ for in with hasOwnProperty | 10,871,671 Ops/sec |
| for of with Object.entries | 4,500,234 Ops/sec |