mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
* feat: parse destructuring private * add test cases * fix: register private name on destructuring * add typings * add syntax plugin * add generator test case * add syntax plugin to preset-stage-2 * fix flow errors * address review comments * fix: use private name in toAssignable * test: add case with undefined refExpressionErrors
7 lines
60 B
JavaScript
7 lines
60 B
JavaScript
class C {
|
|
#x = 1;
|
|
m() {
|
|
const {#x: x} = this;
|
|
}
|
|
}
|