var is a function-scoped. It can be re-declared. let is a block-scoped. It can be used in for loops, while loops, if blocks.
確定! 回上一頁