5 lines
186 B
JavaScript
5 lines
186 B
JavaScript
var TO_PRIMITIVE = require('./_wks')('toPrimitive');
|
|
var proto = Date.prototype;
|
|
|
|
if (!(TO_PRIMITIVE in proto)) require('./_hide')(proto, TO_PRIMITIVE, require('./_date-to-primitive'));
|