0
Javascript
Why can't we use console.log instead of document.write in Javascript?
3 Réponses
+ 2
Document write adds stuff visibly on the web page. Console log hides stuff where you need to open a special browser window. For real sites, the first one affects users directly, so be aware of that.
- Quora
+ 1
Two different things
0
read about it . Or it's very clear from the name itself. document and console.