Nullish coalescing vs Logic or operator3,175 ops/sec
3,162 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| Test case name | Result |
|---|---|
| Nullish coalescing | |
| Logic or operator |
| Test name | Executions per second |
|---|---|
| ✓ Logic or operator | 4,119 Ops/sec |
| Nullish coalescing | 4,064 Ops/sec |