PageRenderTime 11ms CodeModel.GetById 8ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/node_modules/babel-polyfill/node_modules/core-js/library/modules/es6.date.to-iso-string.js

https://bitbucket.org/worklabschd/bingle_customer2
JavaScript | 8 lines | 5 code | 1 blank | 2 comment | 0 complexity | 32025f60b1b585433831f707d7ab21ce MD5 | raw file
1// 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString()
2var $export = require('./_export');
3var toISOString = require('./_date-to-iso-string');
4
5// PhantomJS / old WebKit has a broken implementations
6$export($export.P + $export.F * (Date.prototype.toISOString !== toISOString), 'Date', {
7  toISOString: toISOString
8});