Append to string variable
append, javascript, string, variables
Solution
Like this:
var str = 'blah blah blah';
str += ' blah';
str += ' ' + 'and some more blah';
Problem
How can I append a word to an already populated string variable with spaces?
append, javascript, string, variables
Like this:
var str = 'blah blah blah';
str += ' blah';
str += ' ' + 'and some more blah';
How can I append a word to an already populated string variable with spaces?