Test case name | Result |
---|---|
undefined | |
typeof | |
in | |
hasOwnProperty | |
bool | |
Undefined2 | |
undefined3 | |
undefined4 | |
bool2 |
Test name | Executions per second |
---|---|
undefined | 91090528.0 Ops/sec |
typeof | 219349440.0 Ops/sec |
in | 132360544.0 Ops/sec |
hasOwnProperty | 131976752.0 Ops/sec |
bool | 219486352.0 Ops/sec |
Undefined2 | 95855224.0 Ops/sec |
undefined3 | 96450120.0 Ops/sec |
undefined4 | 96566920.0 Ops/sec |
bool2 | 233647312.0 Ops/sec |