summaryrefslogtreecommitdiff
path: root/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-13.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Date/prototype/toISOString/15.9.5.43-0-13.js')
-rw-r--r--test/built-ins/Date/prototype/toISOString/15.9.5.43-0-13.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-13.js b/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-13.js
index 71a9232eb..431a79c41 100644
--- a/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-13.js
+++ b/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-13.js
@@ -9,8 +9,8 @@ description: >
date is outside the valid range of time.
---*/
-// As specified in ES5 15.9.1.14, time > 8.64e15 is not in the valid range.
-var date = new Date(8.64e15 + 1);
+ // As specified in ES5 15.9.1.14, time > 8.64e15 is not in the valid range.
+ var date = new Date(8.64e15 + 1);
assert.throws(RangeError, function() {
- date.toISOString();
+ date.toISOString();
});