Writing dumb code, I've just found something weird.
for(const [[[[[fancy, loop]]]]] in [0, 0]) {
console.log(fancy, loop);
}
// Chrome 70.0.3538.77 says:
// 0 undefined
// 1 undefined
It's like assigning 0 and 1 to [[[[[fancy, loop]]]]], which, is array destructurings taking place and supposed to throw an error, isn't it? Or not. It's just my thought getting me confused right now.
Could you please tell me how it is valid and works with no error? What am I missing?