News for hackers. Stuff that matters.
Re:React v0.13 released by __david__ on Wednesday March 11, 2015 @11:30AM (#9184572)
Isn't it just (untested, probably full of errors):

    function super(obj, method) {
        for (var p = obj.prototype; p; p = p.prototype)
            if (p[method])
                return p[method];
        throw method+" not found";
    }
then use:

    subclass.prototype.overridden = function(x,y) {
        super(this, 'some_overriden_method').call(this, x, y);
        // ...
    }
If so, that means it's just sugar. If not, what does it do differently?

There are no comments on this comment yet.