On Mar 17, 10:40 am, RobG <[email protected]> wrote:
[...]
>  Try this in various browsers:
>
> (function() {
[...]
> })();

Here's one I forgot to add:

  // How about an array object
  var arr = [];
  arr[1] = 'one';
  arr[0] = 'two';
  show('Is an array in order?\n', arr);


As expected, some return the properties in index order, others in the
order they are added. So *please* do not encourage anyone to think
properties will be returned in the order they are added because they
aren't, nor are they required to be, even in the latest ECMAScript
edition.

--
Rob

-- 
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]

Reply via email to