Fixed: http://dev.jquery.com/changeset/6334

$() === $(document)
$(undefined) === $([])
$(null) === $([])
$("") === $([])

--
Ariel Flesler

On May 3, 12:28 pm, Ariel Flesler <afles...@gmail.com> wrote:
> Correction:
>
> $() === $(document)
> $(null) === $([])
> $("") === $([])
>
> This is wrongly documented and has orphaned code, will report.
>
> --
> Ariel Flesler
>
> On May 3, 12:16 pm, Ariel Flesler <afles...@gmail.com> wrote:
>
> > FYI, not anymore.
>
> > $() === $([])
>
> > It now returns an empty jQuery collection
>
> > --
> > Ariel Flesler
>
> > On May 3, 5:22 am, Klaus Hartl <klaus.ha...@googlemail.com> wrote:
>
> > > $() === $(document)
>
> > > --Klaus
>
> > > On 3 Mai, 07:39, kiusau <kiu...@mac.com> wrote:
>
> > > > QUESTION:  What does the first pair of parentheses indicate in the
> > > > following statement:
>
> > > >         $().getBrowserInformation();
>
> > > > BACKGROUND:  I have noticed that their presence or absence can make or
> > > > break JavaScript's acknowledgement of a method's existence on the one
> > > > hand, but seem entirely unnecessary under other circumstances.
>
> > > > Roddy
>
>

Reply via email to