+ 1
Someone please help...whats the difference between document.write() and console.log(); in accordance with JS
.
2 Answers
+ 5
document.write() displays data in the browser window.
console.log() logs data to the console.
Both are used to assist coders during development. Although console.log() is the more popular option.
0
Please tag a specific language to improve thread's context clarity đ