In strict mode, var will let you re-declare the same variable in the same scope while let ... const is quite similar to let —it's block-scoped and has TDZ.
確定! 回上一頁