Category: spread operator

ES6 in Action: Destructuring Assignment

Destructuring assignment sounds complex. It reminds me of object-oriented terms such as encapsulation and polymorphism. I’m convinced they were chosen to make simple concepts appear more sophisticated! In essence, ECMAScript 6 (ES2015) destructuring assignment allows you to extract individual items from arrays or obj...