Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36
Chrome 109
Windows
Desktop
one year ago
Test name Executions per second
-1 OR 2+610-610-1=0+0+0+1 -- 1.0 Ops/sec
wUmrLVWz 1.0 Ops/sec
wUmrLVWz 1.0 Ops/sec
wUmrLVWz 1.0 Ops/sec
wUmrLVWz 1.0 Ops/sec
Script Preparation code:
Tests:
  • Array.includes

  • Or chain

  • Or chain (witch cheap 'undefined' check)

  • Array.includes with predefined list

  • Array.includes with predefined list (witch cheap 'undefined' check)


;