Question 1: What is the purpose of JavaScript modules?
Question 2: How do you export a function in JavaScript?
Question 3: How do you import a function from another module in JavaScript?
Question 4: What does the export keyword do in JavaScript?
Question 5: What is the default export syntax in JavaScript?
Question 6: Which keyword is used to import a default export in JavaScript?
Question 7: What is the result of using import * as name from 'module';?
Question 8: What does the export * from 'module'; statement do in JavaScript?
Question 9: What happens if you try to import a module that doesn't exist?
Question 10: What is the purpose of the export default syntax in JavaScript?