Object.hasOwn vs inFastest: in (1.7x faster)
116,166,992 ops/sec
69,654,880 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| Test case name | Result |
|---|---|
| Object.hasOwn | |
| in |
| Test name | Executions per second |
|---|---|
| ✓ in | 114,788,432 Ops/sec |
| Object.hasOwn | 82,360,696 Ops/sec |