Skip to content

Commit f37b548

Browse files
committed
don't use globally available non-standard Math.scale
1 parent 5c7cc53 commit f37b548

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core-js/internals/math-scale.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict';
22
// `Math.scale` method implementation
33
// https://rwaldron.github.io/proposal-math-extensions/
4-
module.exports = Math.scale || function scale(x, inLow, inHigh, outLow, outHigh) {
4+
module.exports = function scale(x, inLow, inHigh, outLow, outHigh) {
55
var nx = +x;
66
var nInLow = +inLow;
77
var nInHigh = +inHigh;

0 commit comments

Comments
 (0)