Does no-one remember the function makeArray( .. ) junk from the nescape 2.0 / js 1.0 days? All the Array goodies landed in 1.1 in NN3.0 IIRC.
/me feels old On Jan 3, 1:57 am, Michael Geary <[email protected]> wrote: > On Sun, Jan 2, 2011 at 12:13 PM, Diego Perini <[email protected]>wrote: > > > Javascript Object notation has always been a feature of the language > > since it's inception. > > I think it wasn't until version 1.2 that object and array literals were > added to the language: > > http://www.google.com/search?q=object+literal+javascript+1.2 > > That's why you see so much awful old-time code like this: > > var ary = new Array(); > ary[0] = 'first'; > ary[1] = 'second'; > ary[2] = 'third'; -- To view archived discussions from the original JSMentors Mailman list: http://www.mail-archive.com/[email protected]/ To search via a non-Google archive, visit here: http://www.mail-archive.com/[email protected]/ To unsubscribe from this group, send email to [email protected]
