The difference between let, var and const...Javascript
While developing with Javascript and going through pre-written code, you often come across let, var and const all used while declaring variables in Javascript.
The three are Javascript keywords that precede a variable name/identifier. These keywords...
faithgaiciumia.hashnode.dev2 min read
Bolaji Ayodeji
Software Engineer, Teacher, and Developer Advocate.
Thanks for writing this amazing article :)
Quick feedback: You can add your code snippets in triple backticks to make it more readable.
var name="faith"; name="ian"; console.log(name);//ian let name="faith"; name="ian"; console.log(name);//ian