Run details:
Mozilla/5.0 (Linux; Android 10; SM-G973F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.152 Mobile Safari/537.36
Chrome Mobile 88
Android
Mobile
3 years ago
Test name Executions per second
Object.prototype.hasOwnProperty 990282.6 Ops/sec
obj.hasOwnProperty 1954943.1 Ops/sec
null check 993203.3 Ops/sec
function check 994838.2 Ops/sec
Script Preparation code:
Tests:
  • Object.prototype.hasOwnProperty

  • obj.hasOwnProperty

  • null check

  • function check


;