11.
Which of the following can a JavaScript function return?
12.
How do you call a method named greet that belongs to an object person?
13.
What is an anonymous function?
14.
How do you define a default parameter in a function?
15.
Which statement correctly defines a function named sum that returns the sum of two parameters a and b?
16.
What is the correct way to return an object from a function?
17.
How do you create a function expression in JavaScript?
18.
What happens if a function does not have a return statement?
19.
How can you pass a function as an argument to another function?
20.
What is the purpose of the return statement in a function?