+ 1
In Javascript, which is better to use document.write or console. Log?
In Javascript, which is better to use document.write or console. Log?
2 Answers
+ 1
To simplify, console.log is meant for debugging, document.write is not, but you can use whichever one you like