Function.prototype.toString -
s/FunctionDeclaration/FunctionExpression.
This is not an error. FunctionDeclaration is intentional and is traceable back
to the ES1 spec. There was discussion on this topic on es-discuss but there
was no clear consensus on making this specific change or any
On Mon, May 10, 2010 at 11:18 AM, Allen Wirfs-Brock
allen.wirfs-br...@microsoft.com wrote:
Function.prototype.toString -
s/FunctionDeclaration/FunctionExpression.
This is not an error. FunctionDeclaration is intentional and is traceable
back to the ES1 spec. There was discussion on this
Regardless of what implementations actually do, the standard is the standard
until it is changed.
The reason it wasn't changed was because simply changing FunctionDeclaration or
FunctionExpression wasn't enough to adequately specify the behavior. Even if
existing implementations handled all
There are neither strict or non-strict, they are their own thing. The
definitions in 10.1 and 10.4.3 relating to function code (source code that
is parsed as part of a FunctionBody) are not intended to apply to them. I
believe tha the last time this was discussed on this list the conclusion
4 matches
Mail list logo