Opal-Estate-Pro/node_modules/core-js/modules/es6.date.to-iso-string.js

9 lines
317 B
JavaScript
Raw Normal View History

2019-09-13 06:27:52 +02:00
// 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
});