+ 1
What is the difference when you use document.write and document.writeln? I think I get the same result. Are they both the same?
2 odpowiedzi
+ 5
There is a difference. With document.write you are printing on the same row. With document.writeln after printing the cursor goes to the next row / new line.
+ 1
Thanks!