Includes vs indexOf coucou

one month ago
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.99 Safari/537.36
Test name Executions per second
includes 970576100.0 Ops/sec
indexOf 149712100.0 Ops/sec
Tests:
  • includes

  • indexOf

Open this result on MeasureThat.net