13. functions review


#1

// Write the function multiply below
// It should take two parameters and return the product
var multiply = function (x){
return x*y;
};


13.Function Review
#2

your function:

var multiply = function (x)

has only one parameter, see comment in the code or instructions, this should be two parameters


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.