Run details:
Mozilla/5.0 (Linux; Android 8.0.0; LDN-L21) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.115 Mobile Safari/537.36
Chrome Mobile 92
Android 8.0.0
Mobile
2 years ago
Test name Executions per second
lastIndexOf 1549138.5 Ops/sec
indexOf 91490736.0 Ops/sec
Tests:
  • lastIndexOf

  • indexOf