tc39 / Function-prototype-toString-revision

:fishing_pole_and_fish: ECMA-262 proposal to update Function.prototype.toString

Home Page:https://tc39.github.io/Function-prototype-toString-revision

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Needs to be updated according to January tc39 mtg consensus

erights opened this issue · comments

As recorded at https://esdiscuss.org/notes/2016-01/2016-01-28.md

Keep exactly the original source text starting from the position of the first token of the production and ending at the position of the last token. Within this text, keep comments and newlines. Still no conclusion about insignificant whitespace, i.e., whitespace other than newlines.

This should significantly reduce the case enumeration in the proposal, as well as being more useful for mobile code.