function Test() {
this.abc = 123;
this.obj = {
try: function() { console.log(this.abc) }
}
}
function Test() {
this.abc = 123;
this.obj = {
try: function() { console.log(this.abc) }
}
return this
}
const t = new Test();
const obj = t.obj.try;
obj.apply(t)