Bump to v4.17.3.

This commit is contained in:
John-David Dalton
2016-12-19 17:23:37 -06:00
parent 035ce4f44c
commit f71a7a04b5
28 changed files with 90 additions and 68 deletions

View File

@@ -16,7 +16,7 @@ function createRound(methodName) {
var func = Math[methodName];
return function(number, precision) {
number = toNumber(number);
precision = nativeMin(toInteger(precision), 292);
precision = precision == null ? 0 : nativeMin(toInteger(precision), 292);
if (precision) {
// Shift with exponential notation to avoid floating-point issues.
// See [MDN](https://mdn.io/round#Examples) for more details.