let are better scoped than var, etc. so except for backward compatibility it has no reason to use var rather than let
let are better scoped than var, etc. so except for backward compatibility it has no reason to use var rather than let