Home »
MCQs »
JavaScript MCQs
Which JavaScript method is used to write on browser's console?
12. Which JavaScript method is used to write on browser's console?
- console.write()
- console.output()
- console.log()
- console.writeHTML()
Answer: C) console.log()
Explanation:
The JavaScript method console.log() is used to write on browser's console.