A question for the jQuery team:

I look at the jQuery source code as my source for Javascript best
practices, and I see a few examples of things like:
fn = eval("false||function(elem){return " + fn + "}")

What is the advantage of that over using Function, as:
fn = Function('elem', 'return '+fn)

which seems to do what you want more clearly and concisely.

Reply via email to