Answers for "difference between let and const var in javascript"

5

what is the difference between let and const in javascript

The difference is that with const you can only only assign a value to a variable
once, but with let it allows you to reassign after it has been assigned.
Posted by: Guest on June-29-2020

Code answers related to "difference between let and const var in javascript"

Browse Popular Code Answers by Language