Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * @param {number} augend — The first number in an addition
- * @param {number} addend — The second number in an addition
- * @returns {number} Returns the result
- */
- function addition(augend, addend) {
- return augend + addend;
- }
- console.log(addition(1,1));
- // 2
- console.log(typeof addition(1,1));
- // number
Add Comment
Please, Sign In to add comment