Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.132 YaBrowser/22.3.1.922 Yowser/2.5 Safari/537.36
Yandex Browser 22
Linux
Desktop
2 years ago
Test name Executions per second
Object.prototype.hasOwnProperty 2324928.0 Ops/sec
obj.hasOwnProperty 5088818.5 Ops/sec
Object.hasOwn 2409625.8 Ops/sec
Script Preparation code:
Tests:
  • Object.prototype.hasOwnProperty

  • obj.hasOwnProperty

  • Object.hasOwn


;