Advertisement
Militsa

03. Sum Two Numbers

Dec 23rd, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function  sum(arr) {
  2.     let num1 = Number(arr[0]);
  3.     let num2 = Number(arr[1]);
  4.     console.log(num1 + num2);
  5. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement