Destructuring in JavaScript
If you’ve ever found yourself writing repetitive code like const name = user.name or const first = arr[0], you’re doing extra work. JavaScript has a better way: destructuring.
Let's break down how thi
souparna-tech.hashnode.dev5 min read