Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:136.0) Gecko/20100101 Firefox/136.0
Firefox 136
Mac OS X 10.15
Desktop
2 months ago
Test name Executions per second
using plus operator 67.5 Ops/sec
using concat function 55.6 Ops/sec
using template literals 67.2 Ops/sec
Script Preparation code:
Tests:
  • using plus operator

  • using concat function

  • using template literals