Run details:
Mozilla/5.0 (Linux; Android 13; Pixel 4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Mobile Safari/537.36
Chrome Mobile 106
Android
Mobile
2 years ago
Test name Executions per second
object.keys() 2085051.1 Ops/sec
for in 3379775.2 Ops/sec
Script Preparation code:
Tests:
  • object.keys()

  • for in