destructing is very useful and encourage good coding styles
Is it? Personally I'd say that was bad code. What so wrong with using the original objects?
Putting aside the need to variable swap once a year or so, all the other examples look really confusing to me and unclear what they're doing. The `Deep Matching` especially.
var lst = [[1,2], [3,4], [5,6]];
for (var [a,b] of lst) { console.log(a + b); }
You could write a `zip` function to merge multiple iterables together and iterator them. Or use something like `.enumerate()` to yield indices along with the values.
Is it? Personally I'd say that was bad code. What so wrong with using the original objects?
Putting aside the need to variable swap once a year or so, all the other examples look really confusing to me and unclear what they're doing. The `Deep Matching` especially.