Run details:
Mozilla/5.0 (Linux; Android 5.1.1; Coolpad E571) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.74 Mobile Safari/537.36
Chrome Mobile 95
Android 5.1.1
Mobile
2 years ago
Test name Executions per second
function declaration 76.0 Ops/sec
function expression 84.9 Ops/sec
class 44.6 Ops/sec
Script Preparation code:
Tests:
  • function declaration

  • function expression

  • class