Run details:
Mozilla/5.0 (Linux; Android 8.1.0; Redmi 6A) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Mobile Safari/537.36
Chrome Mobile 89
Android 8.1.0
Mobile
2 years ago
Test name Executions per second
function declaration 163.0 Ops/sec
function expression 166.1 Ops/sec
class 91.2 Ops/sec
Script Preparation code:
Tests:
  • function declaration

  • function expression

  • class