Thanks for this post! I learned some new tricks; your explanations of the pitfalls with object literal destructuring assignment with previous variable declaration were especially insightful :-)
I'm glad you learnt some new tricks. Thanks for reading.
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.