Introduction to Object Destructuring

Premium

You learned how to read object properties one at a time in the objects series. Destructuring lets you pull several properties out of an object into their own variables in a single line. You'll also see how to rename variables and provide defaults at the same time.