Infosys Interview Question

Front end js, react questions.