From 4b14df3509bc1991e081f2cf3fd894abdf72b36c Mon Sep 17 00:00:00 2001 From: Mauro Bringolf Date: Wed, 21 Feb 2018 05:24:17 +0100 Subject: [PATCH] chore: fix typo in a comment (#800) --- packages/babel-plugin-minify-constant-folding/src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/babel-plugin-minify-constant-folding/src/index.js b/packages/babel-plugin-minify-constant-folding/src/index.js index 4c7f3acf4..a9d1c19e3 100644 --- a/packages/babel-plugin-minify-constant-folding/src/index.js +++ b/packages/babel-plugin-minify-constant-folding/src/index.js @@ -152,7 +152,7 @@ module.exports = babel => { const res = evaluate(path, { tdz }); if (res.confident) { // Avoid fractions because they can be longer than the original expression. - // There is also issues with number percision? + // There is also issues with number precision? if (typeof res.value === "number" && !Number.isInteger(res.value)) { return; }