Funzioni Javascript

function MyFunction(val1, val2){
  console.log(val1 + val2);
}

MyFunction(2, 3);

//OUTPUT: 5
Hungry Heron