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