function derp() { a(); b(); c(); }
derp.toString()
will return "function derp() { a(); b(); c(); }"
, but I only need the body of the function, so "a(); b(); c();"
, because I can then evaluate the expression. Is it possible to do this in a cross-browser way?