Closed leoelz closed 2 years ago
I believe this section is the correct one and line 70 is incorrect.
Nicholas, it's an honor!
Both let
and const
can't be redeclared in the same module, but let
allows change binding's value and const
doesn't (as the imported bindings). So I think that const
is more appropriated than let
.
Oops, yes, you're right. Thanks!
Based on Basic Importing section (Line 71), imported names from other modules act as if defined by
const
and in the summary it sayslet
instead