Closed nicolo-ribaudo closed 1 year ago
In Babel 8 we are going to improve validation in the t.numericLiteral builder to only allow valid numeric literals, and it will start throwing for -1 (since -1 should be represented as an unary expression).
t.numericLiteral
-1
In Babel 8 we are going to improve validation in the
t.numericLiteral
builder to only allow valid numeric literals, and it will start throwing for-1
(since-1
should be represented as an unary expression).