Infosys interview question

Basic of React, javascript, and typescript