Variables in JavaScript
Sep 20, 2024 · 1 min read · 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...
Join discussion
