Run details:
Mozilla/5.0 (Linux; Android 10; MI 8) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.101 Mobile Safari/537.36
Chrome Mobile 83
Android
Mobile
4 years ago
Test name Executions per second
Object.values(obj) 1273328.4 Ops/sec
_.values(obj) 1214331.0 Ops/sec
for...in 2812375.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Object.values(obj)

  • _.values(obj)

  • for...in