RE: Faking host objects

Not completly generic yet, but I’ve a good version already:


http://pastebin.com/Zi4G4diV



I added a few asserts to allow you to see how far I went. Please note that neither “Function.prototype.name” and “__proto__” are standardized, so you should avoid them when possible.

Received on Sunday, 30 December 2012 00:06:26 UTC