output.js 322 B

1234567891011
  1. for (var _iterator = arr, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) {
  2. if (_isArray) {
  3. if (_i >= _iterator.length) break;
  4. obj.prop = _iterator[_i++];
  5. } else {
  6. _i = _iterator.next();
  7. if (_i.done) break;
  8. obj.prop = _i.value;
  9. }
  10. }