aboutsummaryrefslogtreecommitdiff
path: root/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.date.to-iso-string.js
blob: 13b27818cc9ebf6d29a537cde4e03d48c2f9fdad (plain)
1
2
3
4
5
6
7
8
// 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
});