Run details:
Mozilla/5.0 (Linux; Android 10; SM-G965F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.92 Mobile Safari/537.36
Chrome Mobile 96
Android
Mobile
3 years ago
Test name Executions per second
Array.includes 4189122.5 Ops/sec
String.match 1938929.2 Ops/sec
Multiple if Conditions 391668736.0 Ops/sec
Tests:
  • Array.includes

  • String.match

  • Multiple if Conditions