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

deepCopy doesn't handle String() objects correctly #1

Open
insin opened this issue Apr 11, 2014 · 0 comments
Open

deepCopy doesn't handle String() objects correctly #1

insin opened this issue Apr 11, 2014 · 0 comments

Comments

@insin
Copy link
Owner

insin commented Apr 11, 2014

Should just return them, but it's creating an object and copying characters to it by index

Likely related to using typeof target == 'object' to check for Objects instead of Object.prototype.toString.call(target).

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