es6.date.to-primitive.js 190 Bytes Raw Blame History Permalink 1 2 3 4 var TO_PRIMITIVE = require('./_wks')('toPrimitive'); var proto = Date.prototype; if (!(TO_PRIMITIVE in proto)) require('./_hide')(proto, TO_PRIMITIVE, require('./_date-to-primitive'));