Don't you need to use print, instead of document write? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Don't you need to use print, instead of document write?

14th Dec 2015, 9:35 AM
Jorge AntĂșnez Valderrama
Jorge AntĂșnez Valderrama - avatar
4 Answers
+ 2
There is no print in javascript. you have print in python and php. the "document.innerhtml" is used for DOM manipulation.
17th Jun 2016, 2:37 PM
Victor Ogudu
Victor Ogudu - avatar
+ 1
Is there "print" in JavaScript?
25th Jan 2016, 3:34 PM
Magician
Magician - avatar
+ 1
Nop but you can use document.innerhtml
12th May 2016, 11:21 AM
Javier Magaña
Javier Magaña - avatar
0
nope
19th Jul 2016, 12:47 PM
Jeevan Pokhrel
Jeevan Pokhrel - avatar