+ 1
what is different syntax of document.write() and console.log() ??
different of output syntax
1 Odpowiedź
+ 1
Did you mean what's the difference between the two of them?
document.write outputs to the HTML document.
console.log outputs (or logs) something to the browser's console and is used for debugging.