Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0
Firefox 95
Windows 7
Desktop
3 years ago
Test name Executions per second
Anonymous Function 33360.2 Ops/sec
var Function 34833.0 Ops/sec
Named function 35463.4 Ops/sec
Script Preparation code:
Tests:
  • Anonymous Function

  • var Function

  • Named function