You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
317 B
JavaScript
9 lines
317 B
JavaScript
5 years ago
|
// 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString()
|
||
|
var $export = require('./_export');
|
||
|
var toISOString = require('./_date-to-iso-string');
|
||
|
|
||
|
// PhantomJS / old WebKit has a broken implementations
|
||
|
$export($export.P + $export.F * (Date.prototype.toISOString !== toISOString), 'Date', {
|
||
|
toISOString: toISOString
|
||
|
});
|