Run details:
Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2600.0 Safari/537.36 AppEngine-Google; (+http://code.google.com/appengine; appid: s~billingses-hrd)
Chrome 49
Windows 7
Desktop
5 years ago
Test name Executions per second
lastIndexOf 7375715.5 Ops/sec
indexOf 5631824.5 Ops/sec
Tests:
  • lastIndexOf

  • indexOf