Which of the following are capable of JavaScript functions?

Options
- Returning multiple values
- Accepting parameters and returning values
- Accepting parameters
- all of the above


CORRECT ANSWER : all of the above

Discussion Board
Js functions cannot return multiple values

Js functions cannot return multiple values per http://stackoverflow.com/questions/2917175/return-multiple-values-in-javascript
You can return Array or Object but not several values at once

Roma 09-1-2015 07:11 PM

So now Java Script functions cannot return values?

That's a shocker...
http://www.w3schools.com/js/js_functions.asp

Andrew 06-23-2015 01:03 AM

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement