Add private fields numeric name test
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
class Foo {
|
||||
#2x = y
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"throws": "Identifier directly after number (2:4)",
|
||||
"plugins": ["classProperties", "classPrivateProperties"]
|
||||
}
|
||||
Reference in New Issue
Block a user