Test case name | Result |
---|---|
undefined | |
typeof | |
in | |
hasOwnProperty | |
bool | |
try catch |
Test name | Executions per second |
---|---|
undefined | 2644014.8 Ops/sec |
typeof | 5024911.0 Ops/sec |
in | 4914706.0 Ops/sec |
hasOwnProperty | 4733198.5 Ops/sec |
bool | 4988595.0 Ops/sec |
try catch | 9743474.0 Ops/sec |