📚 › JavaScript: make pages do things
2. Variables: let and const
इस लेख का अनुवाद अपने आप होगा। अभी अंग्रेज़ी में दिखाया जा रहा है।
A variable stores a value under a name. const is for a value that never changes; let is for a value that can change.
Names can contain letters, digits and underscores, but cannot start with a digit.
उदाहरण देखें
const city = "Dhaka";
let visitors = 10;
visitors = visitors + 5;
console.log(city, visitors);
✍️ अब आपकी बारी
Create a variable name holding Rahim and print: Hi Rahim.