wilmoore/selectn.js

remove automatic global handling

wilmoore opened this issue · 1 comments

selectn currently exploits a well-known hack (1, eval)('this') to allow auto-global references. This is just way too magical for the spirit of this tool and node in general.

Further, if you want global handling, go ahead and pass a reference to the global object -- this achieves the same thing but is more explicit (i.e. less magic).