insin / insin/isomorph

deepCopy doesn't handle String() objects correctly

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
10
Forks
0
PR merge metrics
No merged PRs in 30d

Description

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)`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.