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