Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4379.0 Safari/537.36
Chrome 89
Windows
Desktop
3 years ago
Test name Executions per second
indexOf 14087137.0 Ops/sec
Includes 14438891.0 Ops/sec
find 13719370.0 Ops/sec
Script Preparation code:
Tests:
  • indexOf

  • Includes

  • find