Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Mobile Safari/537.36
Chrome Mobile 125
Android
Mobile
5 months ago
Test name Executions per second
map to create new array 18997.2 Ops/sec
findIndex to create new array 53142.3 Ops/sec
Script Preparation code:
Tests:
  • map to create new array

  • findIndex to create new array