Skip to content

没有办法clone Symbol属性的值 #8

Description

@YuArtian
  var a = {
    [Symbol('a')]: 'a'
  }
  var newA = cloneForce(a)
  console.log('a',a);
  console.log('newA',newA);

结果:
微信截图_20191005191906

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions