Run details:
Mozilla/5.0 (Linux; Android 10; SM-N960U1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.87 Mobile Safari/537.36
Chrome Mobile 98
Android
Mobile
2 years ago
Test name Executions per second
Max with apply 50855.3 Ops/sec
Max with spread operator 53055.2 Ops/sec
Script Preparation code:
Tests:
  • Max with apply

  • Max with spread operator