Created
January 15, 2023 23:16
-
-
Save bertolo1988/eb2ec4d74e68406ed829b5583356607c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Method name | shallow object | non shallow object | circular references | typeof | constructor | |
---|---|---|---|---|---|---|
cloneJSON | ✅ | ✅ | ❌ | ✅ | ✅ | |
structuredClone | ✅ | ✅ | ✅ | ✅ | ✅ | |
underscoreContribClone | ✅ | ✅ | ❌ | ✅ | ✅ | |
cloneNemisj | ✅ | ✅ | ❌ | ✅ | ✅ | |
cloneTrincot | ✅ | ✅ | ✅ | ✅ | ✅ | |
cloneKoolDandy | ✅ | ✅ | ❌ | ✅ | ✅ | |
cloneRfdc | ✅ | ✅ | ❌ | ✅ | ✅ | |
justClone | ✅ | ✅ | ❌ | ✅ | ✅ | |
cloneDeep | ✅ | ✅ | ❌ | ✅ | ✅ | |
cloneLib | ✅ | ✅ | ✅ | ✅ | ✅ | |
cloneDeepLodash | ✅ | ✅ | ✅ | ✅ | ✅ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment