What is a higher-order function in the context of decorators?
A. A function that returns a function
B. A function that takes a function as an argument
C. A function that only contains decorators
D. A function with multiple return statements
Answer: Option B

Join The Discussion