All Posts

Real World Use Case for Renaming Destructed Properties

June 4, 2019

Real World Use Case for Renaming Destructed Properties

You hear about a new javascript feature, and how it will help you be more productive or write cleaner code. You're pumped. You go to the docs to figure out how to implement it and come across a var foo = bar example. Then you google something like real world example of ... or at least that is my usual workflow. I knew that you could assign new variable names to destructed objects. I read moreā€¦

Keep Reading