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

深拷贝函数在处理对象和数组时... #13

Open
xiaochengzi6 opened this issue Oct 6, 2022 · 0 comments
Open

深拷贝函数在处理对象和数组时... #13

xiaochengzi6 opened this issue Oct 6, 2022 · 0 comments

Comments

@xiaochengzi6
Copy link

你好最近拜读了您的文章发现写的非常不错,我前前后后读了好几遍 当我去实现的时候我发现了一个问题,在深拷贝函数处理对象或者数组的这个阶段里 我觉得应该要将 symbol 属性加上 Object.keys() 并不能获得健为 symbol 的 value
image
或许这里应该获得包含 symbol 的属性应该要好一些

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