mirror of
https://github.com/hanzoai/prettier.git
synced 2026-09-24 17:02:04 +00:00
12 lines
187 B
JavaScript
12 lines
187 B
JavaScript
class C {
|
|
m() { return new C; }
|
|
}
|
|
function blah() {}
|
|
var node: ?C = new C;
|
|
while (node) {
|
|
var parent = node.m();
|
|
var cloneable: C = node;
|
|
blah();
|
|
node = parent.m();
|
|
}
|