Run details:
Mozilla/5.0 (Windows NT 5.1; rv:68.0) Gecko/20100101 Firefox/68.0 Mypal/68.12.5
Firefox 68
Windows XP
Desktop
2 years ago
Test name Executions per second
Nullish coalescing (??) 1793683.6 Ops/sec
Logical OR (||) 1510220.8 Ops/sec
Nullish coalescing (??) [short-circuit] 166590416.0 Ops/sec
Logical OR (||) [short-circuit] 164611120.0 Ops/sec
Tests:
  • Nullish coalescing (??)

  • Logical OR (||)

  • Nullish coalescing (??) [short-circuit]

  • Logical OR (||) [short-circuit]