0

What is the difference between "document.write" , "console.log" and "print" ?

18th Aug 2020, 9:34 AM
NotMicah
3 Answers
+ 3
document.write() outputs on document( html page).. console.log output on js console.. print is not for output in js, it for printing page function from window class.. Edit : See this.... https://www.w3schools.com/js/js_output.asp
18th Aug 2020, 9:57 AM
Jayakrishna 🇼🇳
0
Thank you Jayakrishna🇼🇳 very helpful 😁
18th Aug 2020, 9:59 AM
NotMicah
0
You're welcome Kitty .. Edit :
18th Aug 2020, 9:59 AM
Jayakrishna 🇼🇳