sunshine1221
3/30/2018 - 12:00 AM

let vs const

let vs const

You may recall that you can declare variables with both the let and const keywords. Variables declared with let can 
be reassigned.

Variables that are assigned with const cannot be reassigned. However, arrays that are declared 
with const remain mutable, or changeable.

This means that we can change the contents of an array, but cannot reassign the variable 
name to a new array or other data type.