Re: Date Format?

2008-04-01 Thread Robert Sayre
2008/3/31 Nathan de Vries [EMAIL PROTECTED]: Without being part of a standard such as ES4... It is a library problem. The ES4 language spec is not the place to fix every standard library deficiency. -- Robert Sayre I would have written a shorter letter, but I did not have the time.

Re: Strict mode recap

2008-04-01 Thread Waldemar Horwat
Mark Miller wrote: - 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

RE: Strict mode recap

2008-04-01 Thread Lars Hansen
-Original Message- From: Mark Miller [mailto:[EMAIL PROTECTED] Sent: 31. mars 2008 21:36 To: Lars Hansen Cc: Waldemar Horwat; es4-discuss@mozilla.org Subject: Re: Strict mode recap - Disable FunctionObject.arguments (not actually in ES3 but woefully used in practice)

Re: Strict mode recap

2008-04-01 Thread Brendan Eich
On Apr 1, 2008, at 12:22 PM, Lars Hansen wrote: Strangely, built-in functions were exempt from the mechanism (ch 15 intro); I don't know if that's a pragmatic issue (implementation reasons) or a security issue. I don't recall, but it doesn't matter for natives, AFAICT. The mechanism is not

Re: grammar update

2008-04-01 Thread Eric Suen
Hi, the statement is: var a = function() type function() like AAA RelationalExpression ::= RelationalExpression like TypeExpression RelationalExpression - PostfixExpression - PrimaryExpression - FunctionExpression FunctionExpression ::= function FunctionSignature FunctionExpressionBody

Re: grammar update

2008-04-01 Thread Jeff Dyer
It should be var a = (function () type function ()) like AAA In other words, your first option var a = FunctionExpression like AAA where AAA must be a TypeExpression. Jd On 4/1/08 8:37 PM, Eric Suen wrote: Hi, the statement is: var a = function() type function() like AAA