Skip to content
Discussion options

You must be logged in to vote

let allows you to reassign the variable to a new value later in the code. const creates a read-only reference, meaning you cannot reassign the variable identifier itself after initialization (though objects/arrays assigned to const can still be mutated)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ammiyo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants