Function review


#1

error message...x is not defined. help me please!

var multiply = function(x , y){
    return x * y;
};
multiply(x,y)


#2

Post a link to the exercise and all of your code :slight_smile:

From the looks of your posted code, it looks like you didn't plug in values for x and y to be multiplied when you call the multiply function.


#3

got it! thank you!!!


#4

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