FWIW, I just tried this with the following:
export class HomePage {
fruit = "apple";
constructor() {
Promise.resolve().then(() => {
console.log(this.fruit);
debugger;
});
}
}
When the debugger statement fires, this
resolves as expected to the HomePage
object. I wonder what’s different in our situations. My Chrome is 80.0.3987.132.