ajvincent / es-membrane

An ECMAScript implementation of a Membrane, allowing users to dynamically hide, override, or extend objects in JavaScript with controlled effects on the original objects.
ISC License
109 stars 13 forks source link

Standard distortion type: Block returning instances of a given prototype #226

Open ajvincent opened 4 years ago

ajvincent commented 4 years ago

Sometimes we just don't want to let any FooObject instances leak out of an object graph... or into one.