如何将单词追加到已填充的带有空格的字符串变量中?
喜欢这个:
var str = 'blah blah blah'; str += ' blah'; str += ' ' + 'and some more blah';
var str1 = 'abc'; var str2 = str1+' def'; // str2 is now 'abc def'