+ 1

what is the use of break lines in java script where is used in single codding

what is the use of break lines in java script where is used in single codding

9th Sep 2018, 7:50 AM
deepak sharma
deepak sharma - avatar
1 Odpowiedź
+ 5
alert("Hello\nthere"); ✓✓Here "\n" breaks a line between "Hello and "there"; output : hello there "\n" is similar to <br> tag in html
9th Sep 2018, 8:24 AM
Sudarshan Rai
Sudarshan Rai - avatar