2008/9/6 Garrett Smith <[EMAIL PROTECTED]>: > I have a question about the Function constructor algorithm: > > 1. Let P be the empty string. > 2. If no arguments were given, let body be the empty string and go to step 13. > > Would it be OK to just use:- > > 2. If no arguments were given, return a function as specified in 13.2. > > The resulting function would be indistinguishable.
The ECMAScript spec only defines programatically distinguishable behaviour. As long as the behaviour is indistinguishable from the spec the underlying behaviour of the engine can be whatever is decided upon by the engine devs. -- David "liorean" Andersson _______________________________________________ Es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

