freecodecamp.cn icon indicating copy to clipboard operation
freecodecamp.cn copied to clipboard

报错有问题

Open hehe321 opened this issue 10 years ago • 6 comments

Challenge Concatenating Strings with Plus Operator has an issue. User Agent is: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36. Please describe how to reproduce this issue, and include links to screenshots if possible.

My code:

// 举例
var ourStr = "I come first. " + "I come second.";

// Only change code below this line

var myStr; 
myStr="This is the start."+"This is the end.";



hehe321 avatar Oct 12 '16 08:10 hehe321

如果我没有记错的话,这个题应该在字符串判定会判断空格的。你的两个连接字符串中应有一个空格。

// 举例
var ourStr = "I come first. " + "I come second.";

// Only change code below this line

var myStr; 
myStr="This is the start. "+"This is the end.";

liaobinbin avatar Oct 12 '16 09:10 liaobinbin

这个空格卡了好久,我真的是

towardDMC avatar Feb 07 '17 07:02 towardDMC

原来是start后面有个空格

ShirleyTemple avatar Mar 31 '17 08:03 ShirleyTemple

空额真蛋疼!!!!

ghost avatar Apr 21 '17 11:04 ghost

原来如此

H29 avatar May 17 '17 10:05 H29

确实如此

wang37jing avatar Aug 12 '19 06:08 wang37jing