In JavaScript, destructuring assignment is extremely useful. It allows us to pull information from Objects and Arrays with ease, and with less typing overall. A standard way of pulling values from an object and storing them into variables (without destructuring) is to access the properties via the dot operator:

const…

Erin Martin Rose

Hi there! I'm enrolled in Flatiron's Software Engineer boot camp. Hoping to help people with some of the programming concepts I've learned along the way!

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store