Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0
Firefox 134
Windows
Desktop
3 days ago
Test name Executions per second
Object.prototype.hasOwnProperty 1403019392.0 Ops/sec
obj.hasOwnProperty 1366618112.0 Ops/sec
Object.hasOwn 1465657984.0 Ops/sec
Script Preparation code:
Tests:
  • Object.prototype.hasOwnProperty

  • obj.hasOwnProperty

  • Object.hasOwn