JAVASCRIPT EXAMPLE · BASICS

Hello World

JavaScript me console.log() browser console me message print karne ka simple tareeka hai.

Working code

console.log("Hello, World!");
Run Code ▶

Output

Hello, World!

How it works

console.log() output console ko bhejta hai.

"Hello, World!" ek string value hai jo exactly print hoti hai.

Try Yourself

Code modify karke BrounStack JavaScript Playground me run karo.

console.log("Hello, BrounStack!");

Learn this concept

Read related JavaScript Tutorial →