MCQ Answer

What does the console.log() function do?

What does the console.log() function do?

console.log() फ़ंक्शन क्या करता है?
Topic : JS Basic Syntax and Data Types

A. Displays a message in an alert box

B. Prints output to the console

C. Writes data to a file

D. Logs an error in the browser console




Correct Answer is :

B. Prints output to the console



Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad