Run details:
Mozilla/5.0 (Linux; Android 7.0; Redmi Note 4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.58 Mobile Safari/537.36
Chrome Mobile 99
Android 7.0
Mobile
2 years ago
Test name Executions per second
function declaration 177.0 Ops/sec
function expression 183.7 Ops/sec
class 108.1 Ops/sec
Script Preparation code:
Tests:
  • function declaration

  • function expression

  • class