Run details:
Mozilla/5.0 (Linux; Android 12; Pixel 4a (5G)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.88 Mobile Safari/537.36
Chrome Mobile 100
Android
Mobile
2 years ago
Test name Executions per second
ternary operator 3986158.0 Ops/sec
&& and || 5803193.0 Ops/sec
Script Preparation code:
Tests:
  • ternary operator

  • && and ||