What is the difference between JavaScript document.write and document.writeIn? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 1

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

2nd Aug 2019, 8:33 AM
Grant Adiele
Grant Adiele - avatar
2 Respuestas
+ 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