JavaScript Developer — Medium
Key points
- Destructuring assigns values to variables based on object properties
- Default values can be set using the assignment operator (=)
- If a property is missing in the object, the default value is used
Ready to go further?
Related questions
