2 ms·
I realize I could be clearer in what I’m asking for: please use const when you use reference types as values, and use let when you intend to mutate the referenc
by eyelidlessness 5y ago
I realize I could be clearer in what I’m asking for: please use const when you use reference types as values, and use let when you intend to mutate the reference. Using const and then changing a value is certainly allowed but it’s confusing and it’s missing an opportunity to signal in the code where changes might happen.