Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:109.0) Gecko/20100101 Firefox/115.0
Firefox 115
Mac OS X 10.14
Desktop
one year ago
Test name Executions per second
Math.max/min 4555653.5 Ops/sec
if 220714064.0 Ops/sec
ternary 217509344.0 Ops/sec
Script Preparation code:
Tests:
  • Math.max/min

  • if

  • ternary