Learn JavaScript
Display output on the screen
2.2
Lesson

Console

In JavaScript, we can also use console.log to display the output to the screen.

We will be using it a lot in our course.

Run the code given below, to display I love ice cream using console.log.