Krish
asked

Expert
Kelish Rai answered
Yes, console.log()
in JavaScript is similar to print()
in Python — both are used to display information to the console or terminal.
JS
This question was asked as part of the Learn JavaScript Basics course.
Yes, console.log()
in JavaScript is similar to print()
in Python — both are used to display information to the console or terminal.