使用对象. defineProperty 给予两个属性
原文:Using Object.defineProperties gives two properties
原文:Using Object.defineProperties gives two properties
我试图创建一个对象。 但我不明白为什么我的财产获取器设置者不能简单地称它为.bar。 因此,我的 Foo 对象似乎有两个属性。 这是正确还是...