13. functions review


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

13.Function Review

your function:

var multiply = function (x)

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


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