Ends in 7 days

BLACK FRIDAY: Receive 83% off Programiz PRO

+🎁 Buy 1 year, gift 1 year FREE — Split with a friend for just $49.50 each

Start FREE trial →
Background Image

Buy 1 year, Gift 1 year —completely FREE

Start FREE trial →
Krish
last year
Krishcountry asked

Is console.log() in javascript is same as print() in python

Kelish Rai
Expert
last year
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.