From 465c087ac0f9d160129a373738eb3ef69257ef3c Mon Sep 17 00:00:00 2001 From: Mauro Bringolf Date: Wed, 12 Jul 2017 02:08:50 +0200 Subject: [PATCH] Removed update operators from number unary operators (#5940) --- packages/babel-types/src/constants.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/babel-types/src/constants.js b/packages/babel-types/src/constants.js index 523a4f38a2..aeeaf2d849 100644 --- a/packages/babel-types/src/constants.js +++ b/packages/babel-types/src/constants.js @@ -43,7 +43,7 @@ export const BINARY_OPERATORS = [ ]; export const BOOLEAN_UNARY_OPERATORS = ["delete", "!"]; -export const NUMBER_UNARY_OPERATORS = ["+", "-", "++", "--", "~"]; +export const NUMBER_UNARY_OPERATORS = ["+", "-", "~"]; export const STRING_UNARY_OPERATORS = ["typeof"]; export const UNARY_OPERATORS = [ "void",