For the application function, parameters are stored in an array in the first argument.
API
Delivered as a second parameter, API is an object with functions. These functions can be called to do different tasks within an application. The API functions include:
Function
Action
readFile
Returns file contents as text.
Returning output
You can return outputs of the application by using the JavaScript return statement.