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😊..

28th Jun 2021, 10:12 AM
Arpon Sarker
Arpon Sarker - avatar
1 Answer
+ 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 ^^
28th Jun 2021, 10:35 AM
visph
visph - avatar