function addNumbers(numberOne, numberTwo){
var total = numberOne + numberTwo;
console.log(total);
}
function
keyword to create a function and we set the name to be addNumbers
. We set the parameter names numberOne
and numberTwo
total
, and set it to be the value of numberOn
plus numberTwo