let is preferable to var in basically all other cases because it has tighter block scoping. var , meanwhile, has function-level scoping.
確定! 回上一頁