work.suroh.tk/node_modules/core-js/modules/es6.date.to-primitive.js

5 lines
186 B
JavaScript
Raw Normal View History

2019-12-02 12:22:45 +00:00
var TO_PRIMITIVE = require('./_wks')('toPrimitive');
var proto = Date.prototype;
if (!(TO_PRIMITIVE in proto)) require('./_hide')(proto, TO_PRIMITIVE, require('./_date-to-primitive'));