問題文
A function inside an uploaded library returns a value but the metadata page shows no return parameter to configure. What does the code have to do?
選択肢
- Add a comment above the function that names the return value so the page reads it and shows the parameter for configuration.
- Set the data type of the return value on the library page before the upload so that the page shows the parameter.
- Assign the result to a named variable and return that variable so the parameter appears for configuration.
- Declare the function inside another function and return the result of the inner one so the parameter appears for configuration.