Skip to content

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

@YuArtian

Description

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

结果:
微信截图_20191005191906

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions