- 2
What is difference between console.log and document.write ?
What is difference between console.log and document.write ?
2 Answers
+ 6
Console.log
Outputs value to to the console
-------------------------------------------------
document.write
Outputs value to the web page itself....
+ 5
Please use the search bar before posting a question to get more answers from past threads.
https://www.sololearn.com/discuss/25652/?ref=app
https://www.sololearn.com/discuss/1144308/?ref=app
https://www.sololearn.com/discuss/2641498/?ref=app
https://www.sololearn.com/discuss/843065/?ref=app
https://www.sololearn.com/discuss/262481/?ref=app
https://www.sololearn.com/discuss/1861084/?ref=app
https://www.sololearn.com/discuss/2615520/?ref=app
https://www.sololearn.com/discuss/1861084/?ref=app
https://www.sololearn.com/discuss/2641498/?ref=app
https://www.sololearn.com/discuss/1024412/?ref=app
https://www.sololearn.com/discuss/25652/?ref=app
https://www.sololearn.com/discuss/1220935/?ref=app
https://www.sololearn.com/discuss/843065/?ref=app
https://www.sololearn.com/discuss/1144308/?ref=app
https://www.sololearn.com/discuss/519585/?ref=app
https://www.sololearn.com/discuss/557278/?ref=app
https://www.sololearn.com/discuss/653797/?ref=app
https://www.sololearn.com/discuss/2097089/?ref=app