Skip to content

Commit

Permalink
don't use globally available non-standard Math.scale
Browse files Browse the repository at this point in the history
  • Loading branch information
zloirock committed Nov 21, 2024
1 parent 5c7cc53 commit f37b548
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core-js/internals/math-scale.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';
// `Math.scale` method implementation
// https://rwaldron.github.io/proposal-math-extensions/
module.exports = Math.scale || function scale(x, inLow, inHigh, outLow, outHigh) {
module.exports = function scale(x, inLow, inHigh, outLow, outHigh) {
var nx = +x;
var nInLow = +inLow;
var nInHigh = +inHigh;
Expand Down

0 comments on commit f37b548

Please # to comment.