Tricky JavaScript Interview Question Using Array And Object Destructuring Combined
The question goes like this:
Explain to me what the below line of JavaScript code does:
const [{ isoCode: firstCode = '' } = {}] = allStates;
If you're new to array and object destructuring, then this question might sound complicated. But it's actua...
blog.yogeshchavan.dev5 min read
Ujjwal Tiwari
Front End Developer | Problem Solver
good one Yogesh Chavan