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

Object merge with spread operator not working #5

Closed
jasan-s opened this issue Aug 25, 2017 · 2 comments
Closed

Object merge with spread operator not working #5

jasan-s opened this issue Aug 25, 2017 · 2 comments

Comments

@jasan-s
Copy link

jasan-s commented Aug 25, 2017

const person = { name: 'jasan', gender: 'Male' };
const tools = { computer: 'Mac', editor: 'sublime' };

const summary = {...person, ...tools};

nodemon crashes if I try to use the spread to combine the objects. Using _.merge instead.

@vmasto
Copy link
Owner

vmasto commented Aug 31, 2017

Thanks for the heads up. I'll see what went wrong there and add tests for future releases.

@vmasto vmasto closed this as completed in d0a0335 Sep 11, 2017
@vmasto
Copy link
Owner

vmasto commented Sep 11, 2017

Should be good now :)

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

No branches or pull requests

2 participants