* Extract for-of iterator handling to a helper Dis greatly recudes the code size when for-of is used multiple times across the codebase. Also, makes it easier to read what's happening in a compiled loop. * Unify spec and loose code * Legacy implementation fallback * Update tmp var name * Updates from review and after rebase
25 lines
552 B
JavaScript
25 lines
552 B
JavaScript
function broken(x) {
|
|
if (true) {
|
|
var Foo = /*#__PURE__*/function (_Bar) {
|
|
"use strict";
|
|
|
|
babelHelpers.inherits(Foo, _Bar);
|
|
|
|
var _super = babelHelpers.createSuper(Foo);
|
|
|
|
function Foo() {
|
|
babelHelpers.classCallCheck(this, Foo);
|
|
return _super.apply(this, arguments);
|
|
}
|
|
|
|
return Foo;
|
|
}(Bar);
|
|
|
|
for (var _len = arguments.length, foo = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
foo[_key - 1] = arguments[_key];
|
|
}
|
|
|
|
return hello.apply(void 0, foo);
|
|
}
|
|
}
|