test false vs test undefined vs test hasOwnProperty vs test == null vs test == undefined vs test static hasOwnProperty vs test static hasOwn| Test case name | Result |
|---|---|
| test false | |
| test undefined | |
| test hasOwnProperty | |
| test == null | |
| test == undefined | |
| test static hasOwnProperty | |
| test static hasOwn |
| Test name | Executions per second |
|---|---|
| ✓ test == null | 185,662,608 Ops/sec |
| test false | 127,937,272 Ops/sec |
| test hasOwnProperty | 95,204,312 Ops/sec |
| test == undefined | 15,813,345 Ops/sec |
| test undefined | 15,704,152 Ops/sec |
| test static hasOwn | 14,250,494 Ops/sec |
| test static hasOwnProperty | 7,224,817 Ops/sec |