* Not depending on return value of super(). Fixes #9020. * Feedback from nicolo-ribaudo * Feedback -- fixing bad call to replaceWithMultiple
27 lines
376 B
JavaScript
27 lines
376 B
JavaScript
function b() {
|
|
var _this = this;
|
|
|
|
var t = function (x) {
|
|
return _this.x + x;
|
|
};
|
|
}
|
|
|
|
class Foo extends function () {} {
|
|
constructor() {
|
|
var _this2;
|
|
|
|
var foo = function () {
|
|
return _this2;
|
|
};
|
|
|
|
if (true) {
|
|
console.log((super(), _this2 = this), foo());
|
|
} else {
|
|
super();
|
|
_this2 = this;
|
|
console.log(foo());
|
|
}
|
|
}
|
|
|
|
}
|