1.Explain variable scope in javascript.
2. What is event delegation
3. what is closure and give an example
4. What are promises and how it solves callback hell
5. Explain event loop concept in JS
6. write a program to get last two digits from a given array of numbers. ex: [234545, 1234234, 564534, 839683] then output: [45, 34,34,83]