in vs hasOwnPropertyFastest: in (1.4x faster)
67,657,072 ops/sec
48,342,864 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| Test case name | Result |
|---|---|
| in | |
| hasOwnProperty |
| Test name | Executions per second |
|---|---|
| ✓ in | 81,352,872 Ops/sec |
| hasOwnProperty | 48,342,864 Ops/sec |