I don't know this lesson who correct my code simply


#1

// Accepts a number x as input and returns its square
var square = function (x) {
return x * x;
};

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


#2

We cannot perform comparisons in a parameter list:

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

To multiply two values, use,

x * y

Your return statement will look like this.

return x * y;

Then to test it,

console.log(multiply(6,7));