De-sugaring from:
for (var i in/of arr) { body }
to:
{ var _iterator = .iterator(arr); var _result; var i; while (!(_result = _iterator.next()).done) { i = _result.value; body } }