We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Math.scale
1 parent 5c7cc53 commit f37b548Copy full SHA for f37b548
packages/core-js/internals/math-scale.js
@@ -1,7 +1,7 @@
1
'use strict';
2
// `Math.scale` method implementation
3
// https://rwaldron.github.io/proposal-math-extensions/
4
-module.exports = Math.scale || function scale(x, inLow, inHigh, outLow, outHigh) {
+module.exports = function scale(x, inLow, inHigh, outLow, outHigh) {
5
var nx = +x;
6
var nInLow = +inLow;
7
var nInHigh = +inHigh;
0 commit comments