JS

JavaScript Fundamentals 2 - The purpose of console...

31.

What is the purpose of console.log() in JavaScript?

To print text on the webpage

To display a message in the browser console

To create a popup window with a message

To define a new variable