Object.Observe Synchronous Callback
问题 I have been experimenting with Object.observe in Chrome v36. My original intent was to use this for business logic in my models, but the asynchronous behaviour seems to make this impossible. I have boiled this down to the following example: function Person(name) { this.name = name; this.someOtherProperty = null; this.watch = function() { var self = this; Object.observe(this, function(changes){ for(var i = 0; i < changes.length; i++) { if(changes[i].name == "name") { self.someOtherProperty =