0

What's the different between console.log and document.write in javascript

18th Sep 2020, 6:59 PM
victor Ikechukwu
victor Ikechukwu - avatar
2 odpowiedzi
+ 4
try em both, you'll see the difference, console.log() would log that in the console of your browser (F12 in chrome, there is your console.) document.write() would write that on your webpage instead of logging in console
18th Sep 2020, 9:38 PM
maf
maf - avatar