2017-05-28 00:38:50 +02:00
|
|
|
// 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString()
|
2017-08-14 05:01:11 +02:00
|
|
|
var $export = require('./_export');
|
|
|
|
var toISOString = require('./_date-to-iso-string');
|
2017-05-28 00:38:50 +02:00
|
|
|
|
|
|
|
// PhantomJS / old WebKit has a broken implementations
|
2017-08-14 05:01:11 +02:00
|
|
|
$export($export.P + $export.F * (Date.prototype.toISOString !== toISOString), 'Date', {
|
|
|
|
toISOString: toISOString
|
|
|
|
});
|