const doesn't mean constant value; if you think it means constant value, then you can blame const and call it a lie.
Lies in this article:
it's a fact that const implies constant value (narrator: it's not; but it can be very confusing)
your IDE can't force you to treat something as const (narrator: it can, especially when using TypeScript, or other sound type systems; eslint also has rules for this)
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
This article:
const
doesn't mean constant value; if you think it means constant value, then you can blameconst
and call it a lie.Lies in this article:
const
implies constant value (narrator: it's not; but it can be very confusing)const
(narrator: it can, especially when using TypeScript, or other sound type systems; eslint also has rules for this)