The main difference is scoping rules. Variables declared by var keyword are scoped to the immediate function body (hence the function scope) while let variables ...
確定! 回上一頁