1. What are closures in JavaScript?
2. What are the types of variables in JavaScript?
3. What are promises?
4. Write a function to convert a decimal number to binary without using built-in functions.
5. Given an array, find all possible duplicate elements.