es6.date.to-iso-string.js 317 B

12345678
  1. // 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString()
  2. var $export = require('./_export');
  3. var toISOString = require('./_date-to-iso-string');
  4. // PhantomJS / old WebKit has a broken implementations
  5. $export($export.P + $export.F * (Date.prototype.toISOString !== toISOString), 'Date', {
  6. toISOString: toISOString
  7. });