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

Update Object.deepCopy #31

Open
3 tasks
medikoo opened this issue May 27, 2015 · 0 comments
Open
3 tasks

Update Object.deepCopy #31

medikoo opened this issue May 27, 2015 · 0 comments
Assignees
Milestone

Comments

@medikoo
Copy link
Owner

medikoo commented May 27, 2015

Currently it deeply copies only plain objects and arrays, and ensures proper handling for eventual recursion.

Additionally:

  • It should copy other known object types (Date, RegExp, Function, Error(?), Set, Map etc.)
  • Custom resolver as in case of JSON.stringify should be supported
  • Recursion check should be ensured with O(1) algorithm (backed with Map)
@medikoo medikoo self-assigned this May 27, 2015
@medikoo medikoo added this to the v1 milestone May 27, 2015
medikoo added a commit that referenced this issue Jul 17, 2015
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

1 participant