Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

typeof Date is a object #5

Closed
13W opened this issue Dec 16, 2015 · 2 comments · Fixed by #7
Closed

typeof Date is a object #5

13W opened this issue Dec 16, 2015 · 2 comments · Fixed by #7

Comments

@13W
Copy link

13W commented Dec 16, 2015

please check assignment value for date, regex and maybe others which i forgot

@jonschlinkert
Copy link
Owner

Sorry can you clarify what the issue is?

@13W
Copy link
Author

13W commented Dec 17, 2015

> var set = require('set-value');
undefined
> var obj = {};
undefined
> set(obj, 'date', new Date())
{ date: Thu Dec 17 2015 10:06:16 GMT+0300 (MSK) }
> set(obj, 'date', new Date())
{ date: Thu Dec 17 2015 10:06:16 GMT+0300 (MSK) }
> set(obj, 'date', new Date())
{ date: Thu Dec 17 2015 10:06:16 GMT+0300 (MSK) }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants