The difference between let, var and const
Anonymous
Main differences: 1) let and const have a block-scope, var - function-scope 2) let and var can be reassigned, const - can't 3) var hoists to the top of its scope but initializes with undefined, let and const hoist but don't initialize (we will get referenceError)
Check out your Company Bowl for anonymous work chats.