Skip to content

Commit cc11eb7

Browse files
author
Neelesh Shetty
committed
Easy
0 parents  commit cc11eb7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

1.SumOfTwoNumbers.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// Create a function that takes two numbers as arguments and return their sum.
2+
3+
function sumOfTwoNumbers(a, b) {
4+
return a + b
5+
}
6+
7+
console.log(sumOfTwoNumbers(1, 2)) // 3

0 commit comments

Comments
 (0)