blob: e8aa9da25a972e4e906024c275d629d9f045152e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// Copyright (c) 2012 Ecma International. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-date.prototype.toisostring
description: >
Date.prototype.toISOString - The returned string is the UTC time
zone(0)
---*/
var dateStr = (new Date()).toISOString();
assert.sameValue(dateStr[dateStr.length - 1], "Z", 'dateStr[dateStr.length - 1]');
reportCompare(0, 0);
|