Answers for "how to add a variable to an string"

1

how to add a variable to an string

var str = "ello";
var letter = "h";
str = letter + str;
Posted by: Guest on May-17-2020

Code answers related to "how to add a variable to an string"

Browse Popular Code Answers by Language