Important Notice:

Course Content
Switch Statement
0/1
break and continue Statements
0/3
Basic Form Validation in JavaScript
0/1
JavaScript & Angular JS (Chapter- 6) M2-R5.1
About Lesson

console.log():-

                इस property का उपयोग आप वेब browser console में output उपयोग कर सकते हैं इसका उपयोग debugging purple के लिए किया जाता है।

Syntax:- console.log( )

console.log():-

                You can use this property to output in web browser console, it is used for debugging purple.

Syntax:- console.log( )

 

Example:

Console.log( )

<!DOCTYPE html>

<html>

<body>

<h1>console.log</h1>

<p>how to display output in javascript</p>

<script>

console.log(5 + 9);

</script>

</body>

</html>

error: Content is protected !!