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.
Hope that makes a some sense?