0

我知道这可能很简单,但我试图/s在我的单词之间留出空格。document.write('You have been alive' + */s userMsDays /s* + 'days');

我试过 +''+ 将代码输出到一行document.write('<li><font color="red">emotional:</font></li>' + *''+ bioEmot +''*);

4

1 回答 1

2

您只需在字符串中输入空格:

document.write('You have been alive ' + userMsDays + ' days');
于 2013-03-23T00:41:27.677 回答