Test case name | Result |
---|---|
in (true) | |
in (false) | |
obj.hasOwnProperty (true) | |
obj.hasOwnProperty (false) | |
prototype.hasOwnProperty.call (true) | |
prototype.hasOwnProperty.call (false) |
Test name | Executions per second |
---|---|
in (true) | 16126449.0 Ops/sec |
in (false) | 16064166.0 Ops/sec |
obj.hasOwnProperty (true) | 14155667.0 Ops/sec |
obj.hasOwnProperty (false) | 13872129.0 Ops/sec |
prototype.hasOwnProperty.call (true) | 4741770.0 Ops/sec |
prototype.hasOwnProperty.call (false) | 4914296.5 Ops/sec |