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'; -Mike -- 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]
