some deletions
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / core-js / internals / math-scale.js
diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/core-js/internals/math-scale.js b/.config/coc/extensions/node_modules/coc-prettier/node_modules/core-js/internals/math-scale.js
deleted file mode 100644 (file)
index 5928862..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-// `Math.scale` method implementation
-// https://rwaldron.github.io/proposal-math-extensions/
-module.exports = Math.scale || function scale(x, inLow, inHigh, outLow, outHigh) {
-  if (
-    arguments.length === 0
-      /* eslint-disable no-self-compare */
-      || x != x
-      || inLow != inLow
-      || inHigh != inHigh
-      || outLow != outLow
-      || outHigh != outHigh
-      /* eslint-enable no-self-compare */
-  ) return NaN;
-  if (x === Infinity || x === -Infinity) return x;
-  return (x - inLow) * (outHigh - outLow) / (inHigh - inLow) + outLow;
-};