I've been spending some time with Mozilla docs lately and noticed some lines that were like
Code:
let whatever = 123;
instead of the expected
Code:
var whatever = 123;
"let" being a common word it took a while to find info on it, but as best I could find it's for "block level scope".

Am I missing something? Is this something useful or just a way to avoid scope errors?