---------- Forwarded message ----------
From: Garrett Smith <[EMAIL PROTECTED]>
Date: Mon, Mar 24, 2008 at 11:27 AM
Subject: Re: Array Generics and null
To: Dean Edwards <[EMAIL PROTECTED]>


On Mon, Mar 24, 2008 at 10:31 AM, Dean Edwards <[EMAIL PROTECTED]> wrote:
 > Mike Shaver wrote:
 >  > On Sun, Mar 23, 2008 at 2:44 AM, Dean Edwards <[EMAIL PROTECTED]> wrote:


>  It seems we have three choices for Array.forEach(null)
 >
 >  1) Do nothing
 >  2) Throw an exception
 >  3) Use the current object and iterate that
 >
 >  I prefer the first one, throwing an exception is acceptable too but the
 >  last one is counter-intuitive IMO.
 >

 (2) Throw an exception.

 When?  Checked or unchecked?




 >  -dean
 >
 >
 > _______________________________________________
 >  Es4-discuss mailing list
 >  Es4-discuss@mozilla.org
 >  https://mail.mozilla.org/listinfo/es4-discuss
 >
_______________________________________________
Es4-discuss mailing list
Es4-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es4-discuss

Reply via email to