Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 14_6 like Mac OS X) WebKit/8611 (KHTML, like Gecko) Mobile/18F72 [FBAN/FBIOS;FBDV/iPhone8,1;FBMD/iPhone;FBSN/iOS;FBSV/14.6;FBSS/2;FBID/phone;FBLC/vi_VN;FBOP/5]
Mobile Safari 14
iOS 14.6
Mobile
3 years ago
Test name Executions per second
Arrow function 3228388.8 Ops/sec
Normal function 3075206.0 Ops/sec
Script Preparation code:
Tests:
  • Arrow function

  • Normal function