17 lines
246 B
JavaScript
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());
|
|
}
|
|
}
|
|
}
|