On Fri, Apr 27, 2012 at 14:29, Jesse <[email protected]> wrote:
> if ( !f || !f.apply ) { return; }
>
is more fragile than this
if (typeof f != "function") {return; }
Sure, "it's never going to happen" that someone sends in an object with an
apply property which isn't a function. Sure. :-)
But more so, it's understandable. The f.apply() test - I can't really tell
what it's testing for there.
--
Patrick Mueller
http://muellerware.org
