Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tools/node_modules/eslint/lib/rules/no-loss-of-precision.js')
-rw-r--r--tools/node_modules/eslint/lib/rules/no-loss-of-precision.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/node_modules/eslint/lib/rules/no-loss-of-precision.js b/tools/node_modules/eslint/lib/rules/no-loss-of-precision.js
index 9e2811809f6..2d0c6184220 100644
--- a/tools/node_modules/eslint/lib/rules/no-loss-of-precision.js
+++ b/tools/node_modules/eslint/lib/rules/no-loss-of-precision.js
@@ -105,9 +105,9 @@ module.exports = {
}
/**
- * Converts an integer to to an object containing the the integer's coefficient and order of magnitude
+ * Converts an integer to to an object containing the integer's coefficient and order of magnitude
* @param {string} stringInteger the string representation of the integer being converted
- * @returns {Object} the object containing the the integer's coefficient and order of magnitude
+ * @returns {Object} the object containing the integer's coefficient and order of magnitude
*/
function normalizeInteger(stringInteger) {
const significantDigits = removeTrailingZeros(removeLeadingZeros(stringInteger));
@@ -120,9 +120,9 @@ module.exports = {
/**
*
- * Converts a float to to an object containing the the floats's coefficient and order of magnitude
+ * Converts a float to to an object containing the floats's coefficient and order of magnitude
* @param {string} stringFloat the string representation of the float being converted
- * @returns {Object} the object containing the the integer's coefficient and order of magnitude
+ * @returns {Object} the object containing the integer's coefficient and order of magnitude
*/
function normalizeFloat(stringFloat) {
const trimmedFloat = removeLeadingZeros(stringFloat);