All you need to know about Destructuring in javascript
Destructuring is a way you can extract data from arrays or objects and give them a name.
let's imagine I have an array like this:
const names = ["Emeka", "Felicia", "Kayla", "Nancy"];
I may want to put the first value in a variable. We can say:
cons...
codeway.hashnode.dev2 min read