Destructuring in JavaScript
What Destructing means
pulling out a values out of arrays /object and storing them in variable in a shorter way
for array
without destructuring
const arr = [10, 20, 30];
const a = arr[0];
const b = a
dushyantxcode.hashnode.dev4 min read