Re:If You Call Out Bad Code, Make Sure It's Bad First
by klibertp on Friday January 25, 2013 @05:27AM
(#5114848)
As VMG writes, it's one of a few places where 'eval' is the right tool for the job. In this case you either have to drop the feature (of providing replacement function), implement your own language/DSL that compiles down to JS function or just use eval.
What would you do in this case?