Function statements



examples/functions/add.js
"use strict";

function add(x, y) {
    var z = x+y;
    return z;
}

console.log(add(2, 3));    // 5
console.log(add(19, 23));  // 42