Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.5359.71 Safari/605.1.15
Chrome 108
Mac OS X 10.14.6
Desktop
2 years ago
Test name Executions per second
ternary operator 12369678.0 Ops/sec
&& and || 12452806.0 Ops/sec
Script Preparation code:
Tests:
  • ternary operator

  • && and ||