Test case name | Result |
---|---|
instanceof | |
string type | |
string type + undefined | |
property | |
symbol |
Test name | Executions per second |
---|---|
instanceof | 5026851.0 Ops/sec |
string type | 12037120.0 Ops/sec |
string type + undefined | 3695302.0 Ops/sec |
property | 3754270.0 Ops/sec |
symbol | 3929437.0 Ops/sec |