{ Object Destructuring }

What is Destructuring

Destructuring is a syntax that we use to extract values from arrays and properties from objects into distinct variables

  1. The syntax is simple. On the left hand side of an assignment we define what values to unpack from the array or object variable

  1. Ultimately destructuring can help to use less code and make it more readable and concise

Let's explore

Destructuring

By JD Richards