Closed phillipskevin closed 5 years ago
In the following example:
class Obs extends ObservableObject { static props = { prop: String, count: { value({ listenTo, resolve }) { let count = resolve(0); listenTo("prop", () => resolve(++count)); } } }; } const obs = new Obs();
...obs.serialize should not contain count unless the use specifies enumerable: true.
obs.serialize
count
enumerable: true
In the following example:
...
obs.serialize
should not containcount
unless the use specifiesenumerable: true
.