projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Version 1
[yaffs-website]
/
node_modules
/
core-js
/
modules
/
es6.date.to-primitive.js
diff --git a/node_modules/core-js/modules/es6.date.to-primitive.js
b/node_modules/core-js/modules/es6.date.to-primitive.js
new file mode 100644
(file)
index 0000000..
15a823d
--- /dev/null
+++ b/
node_modules/core-js/modules/es6.date.to-primitive.js
@@ -0,0
+1,4
@@
+var TO_PRIMITIVE = require('./_wks')('toPrimitive')
+ , proto = Date.prototype;
+
+if(!(TO_PRIMITIVE in proto))require('./_hide')(proto, TO_PRIMITIVE, require('./_date-to-primitive'));
\ No newline at end of file