feat: support bigInt in numeric-separator transform (#12240)

This commit is contained in:
Huáng Jùnliàng
2020-10-22 16:49:31 -04:00
committed by GitHub
parent d6816f0e6c
commit 8b579a27dc
6 changed files with 22 additions and 6 deletions

View File

@@ -0,0 +1 @@
expect(9_007_199_254_740_993n).toBe(9007199254740993n);

View File

@@ -0,0 +1,4 @@
{
"plugins": ["proposal-numeric-separator"],
"minNodeVersion": "10.4.0"
}

View File

@@ -0,0 +1 @@
9_007_199_254_740_993n;

View File

@@ -0,0 +1 @@
9007199254740993n;