Test case name | Result |
---|---|
not (!) | |
truthy (== undefined) | |
truthy with different type (== null) | |
strict equality (=== undefined) |
Test name | Executions per second |
---|---|
not (!) | 35317560.0 Ops/sec |
truthy (== undefined) | 35370540.0 Ops/sec |
truthy with different type (== null) | 12264590.0 Ops/sec |
strict equality (=== undefined) | 35376220.0 Ops/sec |