Closed weaweawe01 closed 6 months ago
espree.tokenize("alert(1n)") Uncaught [SyntaxError: Identifier directly after number ] { index: 7, lineNumber: 1, column: 8 }
bigint is supported, you need to pass the ecmaVersion >= 2020 or "latest".
ecmaVersion >= 2020
"latest"
espree.tokenize("1n", {ecmaVersion: 2020});
espree.tokenize("alert(1n)") Uncaught [SyntaxError: Identifier directly after number ] { index: 7, lineNumber: 1, column: 8 }