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

make it easier for spec readers to determine that Function.prototype.toString always returns a String #11

Closed michaelficarra closed 8 years ago

michaelficarra commented 8 years ago

(when it does not throw)

Additionally, the proper way to have done the negative check would be to use is not empty.