HSBC interview question

Basic Angular 2 questions