It basically is a way to use variables as the key selector.
In the example we might get getProperty from a function (like a select list)
So we can't do { name } as we don't know if it's name or age for instance.
This way you can use a dynamic name (variable) to be the destructure selector.
Okay Chris Bongers. It's similar to Destructuring with a different name. We are storing the name with a different variable and using that variable to get another variable which will be used to get the value "Chris".
It took longer to understand. But, I hope my explanation makes sense :)
I really enjoyed the 'PLAY THIS ARTICLE' function but what would make it even better if it had a fixed position so I could pause without scrolling back to the top (and having to rush to find my place when I press play.) Very helpful article.
Birdger Tower
Keywords: Design, Dev, Marketing
Thanks for sharing! Very helpful.