title: Whats the meaning of this syntax inside subscribe?
body: <pre><code>.subscribe(data=&gt; {
      this.timezones = data;
  }
  </code></pre>
  
  <p>.is data => the same as used in the constructor (private: data)
            what is the arrow and what does it do ?</p>
  
  <pre><code>export class Xx implements OnInit {
  
    timezones: Object;
  
    constructor(private api: ApiService, private data: TimezoneService) { }
    registered: boolean = false;
  
    ngOnInit() {
      this.data.getTimeZone().subscribe(data=&gt; {
        this.timezones = data;
      });
    }
  }
  </code></pre>