GlobalLogic Interview Question

What is destructuring in javascript & what is pure function?