Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:109.0) Gecko/20100101 Firefox/113.0
Firefox 113
Mac OS X 10.13
Desktop
one year ago
Test name Executions per second
Max with apply 174879.4 Ops/sec
Max with spread operator 194831.7 Ops/sec
Script Preparation code:
Tests:
  • Max with apply

  • Max with spread operator