0

How can I get this multiple lined

https://code.sololearn.com/W040G9eQ69qb/?ref=app Can someone help me get this JavaScript to output on multiple lines. I know /n is used but I can’t get it to work.

15th Sep 2018, 3:42 AM
Alex Peterson
Alex Peterson - avatar
1 Answer
+ 2
Hi Alex Peterson, /n is a invalid syntax for line breaks in JavaScript. Therefore the valid syntax is \n I hope this code will clearify the breaklines in JavaScript for u👍 https://code.sololearn.com/WdogJfMHuA57/?ref=app
15th Sep 2018, 4:08 AM
🌴Vincent Berger🌴
🌴Vincent Berger🌴 - avatar