| Test case name | Result |
|---|---|
| undefined | |
| typeof | |
| in | |
| hasOwnProperty | |
| bool | |
| Object.hasOwnProperty | |
| optional chaining undefined |
| Test name | Executions per second |
|---|---|
| undefined | 120160184.0 Ops/sec |
| typeof | 126078144.0 Ops/sec |
| in | 127650680.0 Ops/sec |
| hasOwnProperty | 79064760.0 Ops/sec |
| bool | 106656024.0 Ops/sec |
| Object.hasOwnProperty | 66343560.0 Ops/sec |
| optional chaining undefined | 123192248.0 Ops/sec |