Capgemini interview question

All JS and react related