mirror of
https://github.com/hanzoai/babel.git
synced 2026-10-30 14:46:06 +00:00
* Class features loose should have precedence over preset-env * Comment * Update packages/babel-helper-create-class-features-plugin/src/features.js [skip ci] Co-authored-by: Huáng Jùnliàng <[email protected]> * Future proof * Add warning when loose mode changes automatically * Better message Co-authored-by: Huáng Jùnliàng <[email protected]>
6 lines
34 B
JavaScript
6 lines
34 B
JavaScript
class A {
|
|
x = 2;
|
|
|
|
#foo() {}
|
|
}
|