+ 10
What is the different between console.log and document.write?
....
5 Answers
+ 8
document.write will show the output in page body.
console.log will show the output in browser console, you can find them in developer options
+ 3
In the first the output is there added to the console and in the latter to the browser đ€
- 5
Hello how are you