Infosys interview question

Basic react js question and javascript

Infosys Interview Question: Basic react js question and javascript | Glassdoor