Guest User

Untitled

a guest
Dec 15th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. /**
  2. * @param {number} augend — The first number in an addition
  3. * @param {number} addend — The second number in an addition
  4. * @returns {number} Returns the result
  5. */
  6. function addition(augend, addend) {
  7. return augend + addend;
  8. }
  9. console.log(addition(1,1));
  10. // 2
  11. console.log(typeof addition(1,1));
  12. // number
Add Comment
Please, Sign In to add comment