Run details:
Mozilla/5.0 (Linux; Android 8.0.0; SM-A520F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.87 Mobile Safari/537.36
Chrome Mobile 98
Android 8.0.0
Mobile
2 years ago
Test name Executions per second
hasOwnProperty 535441.6 Ops/sec
Object.keys 409153.5 Ops/sec
Script Preparation code:
Tests:
  • hasOwnProperty

  • Object.keys