JSDoc3-style operator to access property of prototype(s)

Kevin Smith zenparsing at gmail.com
Fri Aug 28 05:25:17 UTC 2015


>
> class Child extends Parent {
>   method () {
>     // TODO: do something more than Parent would
>     return Parent#method.call(this);
>

This would be written "return super.method();"


> var args = Array#slice.call(arguments, 0);
>

var args = Array.from(arguments);

(or rest params)

Have all use cases for this idea already been squashed by ES2015?
>

Yes, for the common use cases.

Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20150828/83dffc6e/attachment.html>


More information about the es-discuss mailing list