Nowy kurs! Każdy programista powinien nauczyć się Generative AI!
Wypróbuj darmową lekcję+ 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
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