simpl.info Object.observe()

Support for this feature has been removed from Chrome and other browsers.

An object o is created and Object.observe() is called on it.

Three changes are made to o and Object.observe() records these changes as shown below.

Use the console to find out what happens if you make further changes to o: it's defined in global scope.

Call Object.unobserve(o, observer) to stop observing changes.

View source on GitHub