Test name | Executions per second |
---|---|
typeof string is undefined | 239921760.0 Ops/sec |
typeof undefined is undefined | 20518070.0 Ops/sec |
string is undefined | 20346238.0 Ops/sec |
undefined is undefined | 10473260.0 Ops/sec |
typeof "not undefined" === "undefined"
typeof undefined === "undefined"
"not undefined" === undefined
undefined === undefined