Regarding this proposal: https://github.com/tc39/Function-prototype-toString-revision <https://github.com/tc39/Function-prototype-toString-revision>
Wouldn’t it make sense to include a preceding JSDoc-style comment in a function’s (or method’s) `[[SourceText]]` value? Conceptually it is a part of the function and it could be used to implement a REPL `help()` function. -- Dr. Axel Rauschmayer [email protected] rauschma.de
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

