+ 4

JavaScript is not printing spaces in code playground. Is this a bug or JavaScript cannot print spaces at all?

I tried this code in JS. See the output. Also see the output in the JAVA and C# codes. https://code.sololearn.com/W8waHIly0yj5/?ref=app https://code.sololearn.com/ckmYe8C5w78v/?ref=app https://code.sololearn.com/cN5H43Aus5cx/?ref=app

31st May 2017, 3:36 PM
Dragon Slayer Xavier
Dragon Slayer Xavier - avatar
2 Answers
+ 13
Multiple blank spaces will be considered as single. Use   for a space.
31st May 2017, 3:42 PM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar
+ 8
Thanks
1st Jun 2017, 1:38 AM
Dragon Slayer Xavier
Dragon Slayer Xavier - avatar