Variables in JavaScript
A variable is something that stores some value assigned to it. In JavaScript variables can be declared in 3 ways.
var - allows redeclaration
let - allows reassigning values to a variable.
doesn't allow redeclaration of a variable.
const - declared va...
webdec.hashnode.dev1 min read