what is different syntax of document.write() and console.log() ?? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

what is different syntax of document.write() and console.log() ??

different of output syntax

5th Jul 2016, 4:05 AM
Alexander Feng
Alexander Feng - avatar
1 ответ
+ 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.
5th Jul 2016, 1:56 PM
ZinC
ZinC - avatar