Files
test-repo/tests/format/js/destructuring-private-fields/assignment.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
69 B
JavaScript

class C {
#x = 1;
m() {
let x;
({ #x: x } = this);
}
}