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.
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
-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)
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
Hi,
the statement is:
var a = function() type function() like AAA
RelationalExpression ::= RelationalExpression like TypeExpression
RelationalExpression - PostfixExpression - PrimaryExpression
- FunctionExpression
FunctionExpression ::= function FunctionSignature FunctionExpressionBody
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