Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36
Chrome 58
Mac OS X 10.12.5
Other
7 years ago
Test name Executions per second
Array.includes 14308801.0 Ops/sec
String.match 5298913.0 Ops/sec
Multiple if Conditions 87499016.0 Ops/sec
Tests:
  • Array.includes

  • String.match

  • Multiple if Conditions