👏 #mustknow
Learning JS or React? Learn to deconstruct arrays using the destructuring assignment syntax.
Example curtesy MND Web Docs
({ a, b } = { a: 10, b: 20 });
console.log(a); // 10
console.log(b); // 20
Learning JS or React? Learn to deconstruct arrays using the destructuring assignment syntax.
({ a, b } = { a: 10, b: 20 });
console.log(a); // 10
console.log(b); // 20
For further actions, you may consider blocking this person and/or reporting abuse
Wafa Bergaoui -
Samarpan KC -
Ajmal Hasan -
Jagroop Singh -
Top comments (0)