Question 1: What is a function in JavaScript?
Question 2: How do you define a function in JavaScript?
Question 3: How do you call a function named myFunction?
Question 4: Which keyword is used to return a value from a function?
Question 5: What is the default return value of a function that does not return anything?
Question 6: How can you pass parameters to a function in JavaScript?
Question 7: What type of function executes immediately after its definition?
Question 8: What is the correct way to write an arrow function with one parameter?
Question 9: Which statement is true about function hoisting?
Question 10: Which function type does not have its own this binding?