Actually, $thisCell is initialized with the *undefined* value, not the
*null* value.

    var foo;  // undefined
    var bar = null;  // null

    alert( foo === bar );  // false
    alert( foo == bar );  // true, but only because of type conversion

-Mike

> From: Peter Warnock
> 
> No.  $thisCell is initialized with a null value in the current scope.
> 
> - pw

> On May 13, 11:12 pm, runrunforest <craigco...@gmail.com> wrote:
> > Hi,
> >
> > I see this line in a plugin
> >
> > var $thisCell, $tgt = $(event.target);
> >
> > does that mean:
> >
> > var $thisCell = $(event.target);
> > var $tgt = $(event.target);

Reply via email to