Re: substitutes for arguments and arguments.callee in ECMAScript 5

2011-01-06 Thread Garrett Smith
On 1/5/11, Allen Wirfs-Brock al...@wirfs-brock.com wrote: [...] the function expression form has a well-defined meaning anywhere including in the compound statement blocks such as if-statements. The meaning of the latter two declaration forms are not defined by the standard when they occur

Re: substitutes for arguments and arguments.callee in ECMAScript 5

2011-01-06 Thread Brendan Eich
On Jan 6, 2011, at 12:17 AM, Garrett Smith wrote: On 1/5/11, Allen Wirfs-Brock al...@wirfs-brock.com wrote: [...] the function expression form has a well-defined meaning anywhere including in the compound statement blocks such as if-statements. The meaning of the latter two declaration

Re: substitutes for arguments and arguments.callee in ECMAScript 5

2011-01-06 Thread Allen Wirfs-Brock
Well, NOTES are non-normative and sometimes it is useful to be intentionally vague in such situations. There is no normative use of warning in the ES5 specification so there is no point in formally defining it. I think the intent of issue a warning should be clear enough to any language