expando is removed when necessary while new Number is an instance of Object but basically just an integer, I can't spot side effects here but if you have a test about this I'll have a look.
On Sat, Oct 17, 2009 at 3:31 PM, Dave Methvin <dave.meth...@gmail.com>wrote: > > > #38 elem[ expando ] = new Number(id); > > I thought there were memory leaks when attaching Javascript objects to > DOM expandos in IE. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-dev@googlegroups.com To unsubscribe from this group, send email to jquery-dev+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---