diff --git a/lodash.js b/lodash.js index 67ff65117..e4ca07e89 100644 --- a/lodash.js +++ b/lodash.js @@ -5416,7 +5416,7 @@ return function(number, precision) { number = toNumber(number); precision = precision == null ? 0 : nativeMin(toInteger(precision), 292); - if (precision && Number.isFinite(number)) { + if (precision && nativeIsFinite(number)) { // Shift with exponential notation to avoid floating-point issues. // See [MDN](https://mdn.io/round#Examples) for more details. var pair = (toString(number) + 'e').split('e'),