Skip to content

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

@xiaochengzi6

Description

@xiaochengzi6

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions