tc39 / Function-prototype-toString-revision

:fishing_pole_and_fish: ECMA-262 proposal to update Function.prototype.toString
https://tc39.github.io/Function-prototype-toString-revision
26 stars 10 forks source link

Needs to be updated according to January tc39 mtg consensus #7

Closed erights closed 8 years ago

erights commented 8 years ago

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.