Using ES6 Destructuring to assign class properties

Destructuring assignment (MDN Reference) is one of the best new JS features (especially coupled with default arguments and the spread or rest operator). If you aren’t familiar with destructuring assignment, there are lots of great examples in the link above, but here are a few: Arrays: const numbers = [1, 2, 3]; const [a, b, …