babel-plugin-simplify-constant
v1.0.0
Published
Transpiles some constant expressions to their result.
Downloads
2
Readme
babel-plugin-simplify-constant
Replaces some constant expressions with their result.
Example
Input:
const aTrue = !0;
const aFalse = !1;
Output:
const aTrue = true;
const aFalse = false;