Watch.JS
Watch.JS copied to clipboard
Inspect watched object in console?
Before watching the object is easy to inspect in the console:

After watching it looks like a bag of setters and getters:

I suppose WebKit will get better at this. In the mean time, is there are way to inspect encapsulated values?
True, this is a pain currently... Developing on the browser at least.
You are right, but we implement WatchJS using getters and setters, I think you could
console.log(JSON.stringify(obj));
I know it is not ideal, but...