+ 1
Anyone can tell the difference between consoel.log and document.write in JS?
2 Respostas
+ 4
Use search option
https://www.sololearn.com/discuss/1861084/?ref=app
https://www.sololearn.com/discuss/2687064/?ref=app
https://www.sololearn.com/discuss/2641498/?ref=app
https://www.sololearn.com/discuss/2685210/?ref=app
https://www.sololearn.com/discuss/1024412/?ref=app
https://www.sololearn.com/discuss/25652/?ref=app
https://www.sololearn.com/discuss/843065/?ref=app
https://www.sololearn.com/discuss/1144308/?ref=app
https://www.sololearn.com/discuss/557278/?ref=app
https://www.sololearn.com/discuss/2504554/?ref=app
https://www.sololearn.com/discuss/584436/?ref=app
https://www.sololearn.com/discuss/2097089/?ref=app
+ 3
console.log output to console (developpers tools).
document.write output in the document.
if the document is already fully loaded, document.write implicitly open a new (html) document...