GlobalLogic Interview Question

1. What is closures in javascript? 2. React hooks