Test name | Executions per second |
---|---|
string-interpolation | 8084636.5 Ops/sec |
string-concatenation | 7644593.0 Ops/sec |
var luckyNumber = Math.round(Math.random() * 100);
`your lucky number for today is: ${luckyNumber}`
'your lucky number for today is: ' + luckyNumber