Destructuring assigns sequential values from an iterable to bindings. Though often called array destructuring, it uses the iterable’s iterator, so it works with collections beyond arrays. Rest syntax can collect remaining values, but spreading or collecting an infinite iterable will not finish. section 8.3.1
Split map entries into bindings
for (const [key, value] of directory) { console.log(key, value); } section 10.2.2
const [a, b, c] = ["a", "b", "c"];
See a minimal assignment that binds three iterable values to three variables. section 8.3.1






