Good explainer, but for the newbies out there here's the rule of thumb:
Never use var
Always use const, unless you need to reassign it, in which case use let
Yeah, true that. Thanks for contributing 🙂
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.