Explorar o código

data props -> enumerable & configurable

Evan You %!s(int64=12) %!d(string=hai) anos
pai
achega
e15cfe20ae
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/observer.js

+ 2 - 0
src/observer.js

@@ -256,6 +256,8 @@ function convertKey (obj, key) {
     init(obj[key])
 
     oDef(obj, key, {
+        enumerable: true,
+        configurable: true,
         get: function () {
             var value = values[key]
             // only emit get on tip values