2018-01-09 15:36:42 +01:00

17 lines
246 B
JavaScript

function b() {
var t = x => this.x + x;
}
class Foo extends (function(){}) {
constructor(){
var foo = () => this;
if (true){
console.log(super(), foo());
} else {
super();
console.log(foo());
}
}
}