Given that private fields can only be used within classes, any code using them must be in a strict mode context. As private fields cannot be deleted, throw an early SyntaxError.
4 lines
63 B
JSON
4 lines
63 B
JSON
{
|
|
"plugins": ["classProperties", "classPrivateProperties"]
|
|
}
|