Run details:
Mozilla/5.0 (Linux; Android 10; Mi MIX 2S) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Mobile Safari/537.36
Chrome Mobile 112
Android
Mobile
one year ago
Test name Executions per second
Object.prototype.hasOwnProperty 1004201.5 Ops/sec
obj.hasOwnProperty 2048671.1 Ops/sec
Object.hasOwn 1060855.8 Ops/sec
Script Preparation code:
Tests:
  • Object.prototype.hasOwnProperty

  • obj.hasOwnProperty

  • Object.hasOwn