how to split digits into different lines? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

how to split digits into different lines?

I have answers 343 1029 and so on are on one line what to do?

6th Oct 2020, 8:41 PM
Mr Dominik
Mr Dominik - avatar
2 Answers
+ 5
use \n for JavaScript multiple lines: Example: alert(“343\n1029”);
6th Oct 2020, 8:55 PM
Galaxy-Coding (inactive)
Galaxy-Coding (inactive) - avatar
0
I have a Java script
6th Oct 2020, 8:51 PM
Mr Dominik
Mr Dominik - avatar