CitiusTech interview question

Basics of javascript and react