Question: Review the code below: function add ( x , y ) { return x + y; } alert ( add ( 5 , 3 )

Review the code below:
function add(x, y){
return x + y;
}
alert(add(5,3));
The function add does the following:
Group of answer choices
accepts 2 parameters and returns 2 values.
accepts 2 parameters and returns 1 value.
accepts 2 parameters and does not return a value.
does not accept any parameters and returns 1 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 Databases Questions!