0
Why should i use document.write and console.write?What are the benefits?
please Solve this...I can't uderstant these...Please help me😊..
1 Resposta
+ 3
there's no console.write function/method... but console.log (and others)...
you shouldn't use document.write in most of cases: rather use dom to access to (write / modify) document content...
console.log (and others) on the other hand is (are) used to output in browser console (not in document)... usually used for debugging ^^