Run details:
Mozilla/5.0 (Linux; Android 7.0; HTC 10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.111 Mobile Safari/537.36
Chrome Mobile 76
Android 7.0
Mobile
5 years ago
Test name Executions per second
.map 184520.9 Ops/sec
.forEach 302931.8 Ops/sec
Script Preparation code:
Tests:
  • .map

  • .forEach