Add private fields numeric name test

This commit is contained in:
Karl Cheng 2017-06-23 16:17:20 +10:00
parent b4e06aa279
commit 44d842c30b
2 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,3 @@
class Foo {
#2x = y
}

View File

@ -0,0 +1,4 @@
{
"throws": "Identifier directly after number (2:4)",
"plugins": ["classProperties", "classPrivateProperties"]
}