Test case name | Result |
---|---|
Object.prototype.hasOwnProperty | |
obj.hasOwnProperty | |
null check | |
function check |
Test name | Executions per second |
---|---|
Object.prototype.hasOwnProperty | 3080517.0 Ops/sec |
obj.hasOwnProperty | 6703662.5 Ops/sec |
null check | 3303243.5 Ops/sec |
function check | 3488964.5 Ops/sec |