Question: Code example: var add = function ( x , y ) { return ( x + y ) ; } alert ( add ( 5

Code example:
var add = function( x, y ){
return ( x + y );
}
alert( add (5,3));
(Refer to code example above) The function in this example
accepts 2 parameters and returns 1 value.
does not accept a parameter and returns 1 value.
accepts 2 parameters and returns 2 values
accepts 2 parameters and does not return a value.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!