What is the difference between JavaScript document.write and document.writeIn? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

What is the difference between JavaScript document.write and document.writeIn?

2nd Aug 2019, 8:33 AM
Grant Adiele
Grant Adiele - avatar
2 ответов
+ 1
In Java there are: System.out.println & System.out.print They are both used to print text, but their difference is, that println automatically adds a newline to the end.
2nd Aug 2019, 2:01 PM
Seb TheS
Seb TheS - avatar