You are viewing a single comment's thread from:
RE: JavaScript - var, let, const
Great post. Mutability in JS makes things very complicated (I recently had a hair pulling bug that modified properties on an unintended object). You know you can also create a constant object with Object.seal(obj) ? Once you pass your object to the seal method, you won't no longer be able to modify its properties.
I have a couple of javascript posts on promises as well...check them out and follow me @codero
Nice, promises can be pretty daunting for new developers. Good to see you're writing some explanations for those that need it. Followed :)
Thanks for the great tip, I will follow you, Thanks