Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36
Chrome 132
Linux
Desktop
2 months ago
Test name Executions per second
Object.prototype.hasOwnProperty 74141416.0 Ops/sec
obj.hasOwnProperty 99637344.0 Ops/sec
Object.hasOwn 82719184.0 Ops/sec
Script Preparation code:
Tests:
  • Object.prototype.hasOwnProperty

  • obj.hasOwnProperty

  • Object.hasOwn