Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.86 YaBrowser/20.8.0.893 Yowser/2.5 Safari/537.36
Yandex Browser 20
Mac OS X 10.15.6
Desktop
4 years ago
Test name Executions per second
for-in 1131894.9 Ops/sec
Object.keys 927329.6 Ops/sec
Script Preparation code:
Tests:
  • for-in

  • Object.keys