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

2015-08-27 Thread Ron Waldon
I've been using JSDoc 3 for documentation of JavaScript code for years now, and it recently occurred to me that maybe the instanceMember namepath is a candidate for inclusion in ECMAScript proper: http://usejsdoc.org/about-namepaths.html The # operator would effectively be syntax sugar for

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

2015-08-27 Thread Kevin Smith
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