swc/tests/tsc-references/es6/destructuring/iterableArrayPattern5/input.ts/es2015.2.minified/output.js

17 lines
234 B
JavaScript

class Bar {
}
class Foo extends Bar {
}
var a, b, tmp = Symbol.iterator;
[a, b] = new class {
next() {
return {
value: new Foo,
done: !1
};
}
[tmp]() {
return this;
}
};