This is probably a good place to reference https://mail.mozilla.org/pipermail/es-discuss/2012-July/024260.html in reply to your question.
Basically, these are incomplete working drafts. Much is not yet included in the drafts. Allen On Aug 6, 2012, at 2:55 PM, Nicholas C. Zakas wrote: > I noticed that there is a proposal to improve how Function.prototype.toString > works in ES6: > http://wiki.ecmascript.org/doku.php?id=harmony:function_to_string > > However, there doesn't seem to be any update in the existing ES6 draft, as it > says: > > 15.3.4.2 Function.prototype.toString ( ) > > An implementation-dependent representation of the function is returned. This > representation has the syntax of a FunctionDeclaration. Note in particular > that the use and placement of white space, line terminators, and semicolons > within the representation String is implementation-dependent. > > The toString function is not generic; it throws a TypeError exception if its > this value is not a Function object. Therefore, it cannot be transferred to > other kinds of objects for use as a method. > > Are there going to be a changes to this in ES6? > > > Thanks, > Nicholas > -- > ___________________________ > Nicholas C. Zakas > http://www.nczonline.net > _______________________________________________ > es-discuss mailing list > [email protected] > https://mail.mozilla.org/listinfo/es-discuss
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

