Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 15_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/94.0.4606.52 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 94
iOS 15.0
Mobile
3 years ago
Test name Executions per second
Nullish coalescing (??) 2344221.5 Ops/sec
Logical OR (||) 2329842.8 Ops/sec
Nullish coalescing (??) [short-circuit] 120332192.0 Ops/sec
Logical OR (||) [short-circuit] 121503304.0 Ops/sec
Tests:
  • Nullish coalescing (??)

  • Logical OR (||)

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

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


;