Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.122 Safari/537.36 Vivaldi/1.4.589.29
Chrome 53
Windows 7
Other
8 years ago
Test name Executions per second
indexOf 2913733.5 Ops/sec
includes 2372648.8 Ops/sec
Script Preparation code:
Tests:
  • indexOf

  • includes