destructuring
Also written: destructure
A JavaScript shorthand that unpacks an object's properties or an array's elements into variables, as in `const [sku, bags] = delivery`. With a tuple, each variable gets its own type.
Also written: destructure
A JavaScript shorthand that unpacks an object's properties or an array's elements into variables, as in `const [sku, bags] = delivery`. With a tuple, each variable gets its own type.