+ 5
document.write is straightforwardly used to display HTML text within your page whilst console.log is rather used for testing purposes where it displays whatever it was passed to it within the browser's JavaScript console.
17th Apr 2018, 9:24 AM
CHMD
CHMD - avatar