For this Question: Complete the "mul" function which will properly return the answer by performing multiplication when invoked as below syntax.
Ex:- mul(2)*(3)*(4) - > 24Three integers will be given as input

<b>Constarints</b>
1&le; a,b,c &le;1000The number resulting after the multiplication of 3 input numbersSample input:-
1 5 2

Sample output:-
10

<b>Explanation:-</b>
1*5*2 = 10, I have written this Solution Code: 
  function mul (x) {
    return function (y) { // anonymous function
    return function (z) { // anonymous function
    console.log(x*y*z);
    };
    };
    }
    , In this Programming Language: JavaScript, Now tell me if this Code is compilable or not?