Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36
Chrome 119
Mac OS X 10.15.7
Desktop
one year ago
Test name Executions per second
function expression 517867.0 Ops/sec
function declaration 392892.8 Ops/sec
function expression var 532978.2 Ops/sec
HTML Preparation code:
Tests:
  • function expression

  • function declaration

  • function expression var