Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/119.0
Firefox 119
Ubuntu
Desktop
one year ago
Test name Executions per second
using plus operator 19512.3 Ops/sec
using concat function 695.8 Ops/sec
using template literals 7061.0 Ops/sec
Script Preparation code:
Tests:
  • using plus operator

  • using concat function

  • using template literals