+ 1
Ending of line
hello friends I,m beginner of this language what is the code to end the line in c or c++ " /n " is use to end the line. is it work hear also? how to print text given bellow "hello friends" "I am using JavaScript" " It is easy to use"
2 odpowiedzi
+ 3
thank you
+ 1
Yes. In JavaScript, you also use "\n" to end a line.
However, if you're using it to modify HTML (see DOM and Events), use "<br />".