Which brings me to my main point: how can we achieve data binding without relying on a framework? The
Object.observe() method can be used to listen for changes to an object. According to MDN, this method calls your callback every time the object is modified. This may be extremely useful, but browser support is extremely limited for now, with only Chrome 36+ and Opera 23+ having this ability.