Skip to content

Instantly share code, notes, and snippets.

View BennisonDevadoss's full-sized avatar
🎯
Focusing

Bennison J BennisonDevadoss

🎯
Focusing
View GitHub Profile
const variable = "value"
console.log(variable); //value
variable = "new value"; // This line will give an error "Uncaught TypeError: Assignment to constant variable"
let variable = "value";
console.log(variable) // value
let variable = "value"; // value
// "Mangos", is a value. if you want to see this on a console.
console.log("Mangos"); // Mangos
console.log(23); // and here 23 is a value. 
let firstName = "Bennison"; 
console.log(firstName); // Bennison