Run details:
Mozilla/5.0 (Linux; Android 10; Mi MIX 3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.101 Mobile Safari/537.36
Chrome Mobile 98
Android
Mobile
2 years ago
Test name Executions per second
Arrow function 2922606.8 Ops/sec
Bind function 2975259.5 Ops/sec
Script Preparation code:
AخA
 
arrowFn = () => this
bindFn = (function() { return this }).bind(this)
Tests:
  • Arrow function

     
    arrowFn()
  • Bind function

     
    bindFn()