We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
var a = { [Symbol('a')]: 'a' } var newA = cloneForce(a) console.log('a',a); console.log('newA',newA);
结果:
The text was updated successfully, but these errors were encountered:
symbol是值类型,不是对象类型吧
Sorry, something went wrong.
symbol是值类型,不是对象类型吧 @yanhaijing 额。。是啊 我是想说 对象上有symbol值做属性名的话 也要拷贝过来吧
@YuArtian 是的,看来是个bug
No branches or pull requests
结果:
The text was updated successfully, but these errors were encountered: