📅  最后修改于: 2022-03-11 15:04:31.500000             🧑  作者: Mango
// `let` vs `var` vs `const` in 'javascript'
"let" allows you to declare local variable whose scope
is limited to the block statement.
"var" allows you to declare a variable globally or locally
to an entire function.
"Const" just like let, are block-scoped.
It's value can't be reassigned and it can't be redeclared.