From d72c3fb8251f0df0d32d1435a690cc847ff13717 Mon Sep 17 00:00:00 2001 From: Mauro Bringolf Date: Wed, 21 Feb 2018 00:11:56 +0100 Subject: [PATCH] Fix some comment typo --- 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; }