| 1 |
class A extends B { |
| 2 |
handle = (() => { |
| 3 |
var _newtarget = new.target, |
| 4 |
_superprop_getY = () => super.y, |
| 5 |
_this = this; |
| 6 |
return function () { |
| 7 |
let x = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0; |
| 8 |
console.log(x, _this, _newtarget, _superprop_getY()); |
| 9 |
}; |
| 10 |
})()(() => { |
| 11 |
var _this2 = this; |
| 12 |
let y = 0; |
| 13 |
return function () { |
| 14 |
let x = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : y; |
| 15 |
return x + _this2; |
| 16 |
}; |
| 17 |
})((() => function () { |
| 18 |
let x = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1; |
| 19 |
})())(this); |
| 20 |
} |