Run details:
Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
Chrome 120
Chrome OS 14541.0.0
Desktop
11 months ago
Test name Executions per second
Array.includes 27748260.0 Ops/sec
Or chain 8480398.0 Ops/sec
Script Preparation code:
Tests:
  • Array.includes

  • Or chain