In AngularJS I have the following Foo component:
@Component({selector:'app-foo', ...}
export class Foo implements OnInit {
public bar: number;
...
While I'm in the browser with the developer console open, is there any way to access the bar variable of the above component? What do I put in xxx here?
> console.log(xxx)