Test case name | Result |
---|---|
instanceof | |
typeof | |
typeof no function | |
typeof and test attribute |
Test name | Executions per second |
---|---|
instanceof | 6583588.0 Ops/sec |
typeof | 18713000.0 Ops/sec |
typeof no function | 9124477.0 Ops/sec |
typeof and test attribute | 18987460.0 Ops/sec |