> D = (function() {
> __extends(D, B);
> function D(x, y) {
> D.__super__.constructor.call(this, x);
> this.y = y;
> }
> D.prototype.m = function(z) {
> return 1 + D.__super__.m.call(this, z);
> };
> return D;
> })();
I wonder if using an IIFE isn’t counter-productive here:
- D.__super__ refers to the binding of D inside the IIFE which means that the
IIFE environment is will be kept alive.
--
Dr. Axel Rauschmayer
[email protected]
twitter.com/rauschma
home: rauschma.de
blog: 2ality.com
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss