Right. That’s a compelling argument against my suggestion.

> On 16 Apr 2016, at 16:53, Caitlin Potter <caitpotte...@gmail.com> wrote:
> 
> How would that interact with angular.js' Function.prototype.toString parsing? 
> Seems like doing that could break some content, even if it were useful
> 
> On Apr 16, 2016, at 10:48 AM, Axel Rauschmayer <rausc...@icloud.com 
> <mailto:rausc...@icloud.com>> wrote:
> 
>> 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
>> a...@rauschma.de <mailto:a...@rauschma.de>
>> rauschma.de <http://rauschma.de/>
>> _______________________________________________
>> es-discuss mailing list
>> es-discuss@mozilla.org <mailto:es-discuss@mozilla.org>
>> https://mail.mozilla.org/listinfo/es-discuss 
>> <https://mail.mozilla.org/listinfo/es-discuss>

-- 
Dr. Axel Rauschmayer
a...@rauschma.de
rauschma.de

_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to