JS function expression7

by istiq20

JavaScript

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

// ES6
const x = (x, y) => x * y;