Index: src/date.js |
diff --git a/src/date.js b/src/date.js |
index 11cf4e91e79b3a007182e3615232cfee87b3394b..81246cfd91d0995b86d548c609367ba31fdff51d 100644 |
--- a/src/date.js |
+++ b/src/date.js |
@@ -691,7 +691,7 @@ function PadInt(n, digits) { |
// ECMA 262 - 15.9.5.43 |
function DateToISOString() { |
var t = UTC_DATE_VALUE(this); |
- if (NUMBER_IS_NAN(t)) throw MakeRangeError("invalid_time_value", []); |
+ if (NUMBER_IS_NAN(t)) throw MakeRangeError(kInvalidTimeValue); |
var year = this.getUTCFullYear(); |
var year_string; |
if (year >= 0 && year <= 9999) { |