Cognizant Interview Question

Destructuring props with react js