Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; Touch; rv:11.0) like Gecko
IE 11
Windows
Other
8 years ago
Test name Executions per second
Object.keys 2447290.2 Ops/sec
for... in... 9745566.0 Ops/sec
Script Preparation code:
Tests:
  • Object.keys

  • Object.getOwnPropertyNames

  • for... in...


;