Synechron interview question

Questions were from angular2 and react