Infosys Interview Question

Basic questions in JavaScript and React