Pregunta de entrevista de Indegene

Basic to advance question in javascript, Reactjs