I don’t understand why you would need a [let] function in front of a variable.
Here’s a link to the lesson:
I understand why [const] would be important, but I just don’t understand [let].
If you create a variable, lets say dog = beagle, and you do a [console.log], it will say “beagle”. Then, after that, you want to change what the variable equals, you can just put another dog = boxer after the first one.
Then if you do a [console.log] it would say boxer, but the first one would still say beagle. So what’s the purpose of the [let] function?