Starlit Daily

📚 › JavaScript: make pages do things

1. Printing with console.log

इस लेख का अनुवाद अपने आप होगा। अभी अंग्रेज़ी में दिखाया जा रहा है।

console.log prints a value. Text goes inside quotes, such as "Hello". Each call prints on its own line.

Comments start with // and the computer ignores them. Use comments to explain your code.

उदाहरण देखें

// This line is a comment
console.log("Hello");

✍️ अब आपकी बारी

Print the text Hello, Dhaka.

← कोर्स पर वापस