GlobalLogic interview question

OOPs questions in Javascript. Basic question on Angular 2+ and css3