Fix transform-simplify-comparison-operators plugin

This commit is contained in:
Henry Zhu
2015-11-02 09:27:41 -05:00
parent 72f384bb29
commit 44e64c41f8
4 changed files with 22 additions and 4 deletions

View File

@@ -0,0 +1,7 @@
typeof 1 === "number";
typeof 1 !== "string";
typeof 1 == "number";
typeof 1 != "string";
a > b;

View File

@@ -0,0 +1,7 @@
typeof 1 == "number";
typeof 1 != "string";
typeof 1 == "number";
typeof 1 != "string";
a > b;

View File

@@ -0,0 +1,3 @@
{
"plugins": ["transform-simplify-comparison-operators"]
}