/** * function to add two numbers together * @param {number} a this is the first number param * @param {number} b this is the second number param * @returns {number} */ function addNum(a = 0, b = 0) { return a + b; } addNum(4, 6);
/** * function to add two numbers together * @param {number} a this is the first number param * @param {number} b this is the second number param * @returns {number} */ function addNum(a = 0, b = 0) { return a + b; } addNum(4, 6);