30.
Which of the following is used to display a message in the browser console?
console.display()
console.write()
console.log()
console.print()
Correct: C
The console.log() function is used to display a message or value in the browser console. It is a common method for debugging and displaying information during development.