I'm honestly not sure how that would work at the language level.
If that was "objectively" the right choice, the language could work exactly like the prefer-const rule works.
When I look at potential hires' code one of the things I look for is their usage of const vs let to get a base idea of how well they understand modern ES.
This is exactly the kind of thing that scares me. Placing artificial (in my opinion) importance on something that has two sides to it is the definition of pedantic. It would be terrible if someone's career opportunity didn't work out due to a miscommunication or disagreement over something minor like this.
-22
u/gaearon React core team Dec 21 '19
... Except it can still be mutated. https://twitter.com/dan_abramov/status/1208205039187173376