Infosys interview question

Some generic js questions and react questions