Metaprogramming Packages

scoped-function

`ScopedFunction` allows you to inject scope object into `Function` constructor. The properties of the scope object can be accesed in the function body as if they were closure variables: `ScopedFunction('return s;', { s: 'hello' }) -> 'hello'`.

0.2.0 • Published 6 years ago