mirror of
https://github.com/swc-project/swc.git
synced 2024-12-30 17:15:11 +03:00
17 lines
234 B
JavaScript
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;
|
|
}
|
|
};
|