Re: grammar update

2008-03-31 Thread Eric Suen
Hi, Does the order of rules means different priority? otherwise why PropertyName is same as PrimaryName, and what is that number before each rule means? Regards Eric Suen ___ Es4-discuss mailing list Es4-discuss@mozilla.org

Re: Array Generics and null

2008-03-31 Thread Erik Arvidsson
I agree with Lars (and Mark) on this. It would be best if access to 'this' would throw. Throwing in the actual call to the function seems a bit harsh since the statement that refers to 'this' might never be reached. Making the access throw would allow people to at least catch the error and fall

Re: Date Format?

2008-03-31 Thread Carl S. Yestrau
Garrett Smith wrote: Will ES4 have a simple date formatter? ___ Es4-discuss mailing list Es4-discuss@mozilla.org https://mail.mozilla.org/listinfo/es4-discuss strftime would be uber. ___ Es4-discuss

Re: grammar update

2008-03-31 Thread Jeff Dyer
On 3/31/08 10:33 AM, Lars Hansen wrote: I disagree that 'enum' should be reserved in ES4. E262-3 ch 16 is explicit in allowing syntactic extensions and it appears that Opera and Firefox do not reserve 'enum', suggesting that 'enum' is not in use on the public web. I don't remember why we

Re: Date Format?

2008-03-31 Thread Igor Bukanov
Date.prototype.toLocaleFormat(format) in SpiderMonkey provides access exactly to strftime functionality. Regards, Igor On 31/03/2008, Carl S. Yestrau [EMAIL PROTECTED] wrote: Garrett Smith wrote: Will ES4 have a simple date formatter? ___

Re: grammar update

2008-03-31 Thread Brendan Eich
On Mar 31, 2008, at 1:24 PM, Jeff Dyer wrote: On 3/31/08 10:33 AM, Lars Hansen wrote: I disagree that 'enum' should be reserved in ES4. E262-3 ch 16 is explicit in allowing syntactic extensions and it appears that Opera and Firefox do not reserve 'enum', suggesting that 'enum' is not in

Re: Date Format?

2008-03-31 Thread Nathan de Vries
On Tue, 2008-04-01 at 00:39 +0200, Igor Bukanov wrote: Date.prototype.toLocaleFormat(format) in SpiderMonkey provides access exactly to strftime functionality. As with prior discussion regarding PTC, being in SpiderMonkey is relatively useless to those of us programming for the web. Cheers,

Re: Date Format?

2008-03-31 Thread Garrett Smith
2008/3/31 Nathan de Vries [EMAIL PROTECTED]: On Tue, 2008-04-01 at 00:39 +0200, Igor Bukanov wrote: Date.prototype.toLocaleFormat(format) in SpiderMonkey provides access exactly to strftime functionality. As with prior discussion regarding PTC, being in SpiderMonkey is relatively

Re: Date Format?

2008-03-31 Thread Carl S. Yestrau
Second that notion. On Mar 31, 2008, at 8:24 PM, Nathan de Vries wrote: On Mon, 2008-03-31 at 16:56 -0700, Garrett Smith wrote: Firefox uses SpiderMonkey. I don't get what you mean. Firefox is part of the web, but it's not *the* web. Without being part of a standard such as ES4, Mozilla's

Re: Strict mode recap

2008-03-31 Thread Erik Arvidsson
- Disable FunctionObject.arguments (not actually in ES3 but woefully used in practice) This is an interesting one, since disallowing it would mean that the ES3.1 and ES4 specs would have to re-allow it so that they could explicitly disallow it :) Yes. It's also an interesting