Call a Function from inside a Function

Hey guys, I’m new to ionic and angular and was wondering how I can call a function from a function inside the same class? If so, then how is it done?

class Page {
  foo(): void {
    this.bar();
  }

  bar(): void {
  }
}
1 Like