Tech Lead/Team Lead. Senior WebDev.
Intermediate Grade on Computer Systems-
High Grade on Web Application Development-
MBA (+Marketing+HHRR).
Studied a bit of law, economics and design
Location
Spain
Education
Higher Level Education Certificate on Web Application Development
well, "you are free to use any of those" it's not that "as is" at all. If you use const and you don't know how consts works you'll get stuck trying to imagine why this fkin const is not changing their value even set on a lefthand just before. 😆
Yeah, of course - been there:-D. But I guess, engines report the re-assignment error properly. At least on browser you get - Uncaught TypeError: Assignment to constant variable. And I did start with "as far as you understand the difference", If you don't then you can always follow what others are doing. Use let everywhere.
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.
well, "you are free to use any of those" it's not that "as is" at all. If you use const and you don't know how consts works you'll get stuck trying to imagine why this fkin const is not changing their value even set on a lefthand just before. 😆
Yeah, of course - been there:-D. But I guess, engines report the re-assignment error properly. At least on browser you get -
Uncaught TypeError: Assignment to constant variable.
And I did start with "as far as you understand the difference", If you don't then you can always follow what others are doing. Uselet
everywhere.