News for hackers. Stuff that matters.
Re:Object.observe withdrawn from TC39 by bcherny on Tuesday November 03, 2015 @04:45PM (#10502938)
what happens when i add a property to the object that i'm proxying after the Proxy is already instantiated? you wouldn't be able to detect the addition and add getters/setters for the property unless you use some sort of O.o or dirty checking on the underlying object.

see https://github.com/bcherny/auditable for an implementation, sans O.o.

Re:Object.observe withdrawn from TC39 by pipeep on Sunday November 08, 2015 @11:32PM (#10531409)
If you intercept every MemberExpression on every object, you can solve this (with the exception of eval), but as I said, it would be incredibly slow.