Files
test-repo/tests/format/js/destructuring-private-fields/for-lhs.js
T
Sosuke Suzuki 8c49fd0f6f Support destructuring private proposal (#12276)
* Enable `destructuringPrivate` plugiin

* Add tests

* Add changelog

* Add more tests
2022-02-14 11:28:47 +09:00

8 lines
74 B
JavaScript

class C {
#x = 1;
m() {
let x;
for ({#x: x} of [this]);
}
}