Run details:
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36 NET4.OC
Chrome 52
Windows 7
Desktop
5 years ago
Test name Executions per second
hasOwnProperty 67296.5 Ops/sec
Object.keys 210155.5 Ops/sec
Script Preparation code:
Tests:
  • hasOwnProperty

  • Object.keys