JS function expression2

by istiq20

JavaScript

var x = function (a, b) {return a * b};
var z = x(4, 3);

console.log(z); // output: 12