Test case name | Result |
---|---|
loose equals undefined | |
loose not-equals undefined | |
strict equals undefined | |
strict not-equals undefined | |
loose equals null | |
loose not-equals null | |
strict equals null | |
strict not-equals null | |
typeof | |
in | |
hasOwnProperty | |
bool |
Test name | Executions per second |
---|---|
loose equals undefined | 4092863.0 Ops/sec |
loose not-equals undefined | 4540506.5 Ops/sec |
strict equals undefined | 4476512.5 Ops/sec |
strict not-equals undefined | 4419200.0 Ops/sec |
loose equals null | 14104514.0 Ops/sec |
loose not-equals null | 14046252.0 Ops/sec |
strict equals null | 14094024.0 Ops/sec |
strict not-equals null | 13980406.0 Ops/sec |
typeof | 12168670.0 Ops/sec |
in | 13355762.0 Ops/sec |
hasOwnProperty | 12488008.0 Ops/sec |
bool | 14078613.0 Ops/sec |