+ 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?

13th May 2020, 6:29 PM
G. Yaseen
G. Yaseen - avatar
1 ответ
+ 1
To simplify, console.log is meant for debugging, document.write is not, but you can use whichever one you like
13th May 2020, 8:42 PM
ReimarPB
ReimarPB - avatar