Capgemini Interview Question

basics of JS and react native