Skip to content

Commit 9d9113f

Browse files
Update Sum of Numbers.js
1 parent cf692b2 commit 9d9113f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

JavaScript Interview Programs/Sum of Numbers.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
// *************************************************************** Common Ways to Add Numbers in JavaScript ****************************************************************
23

34
/* 1. Normal Variable Addition (Direct Way) */
@@ -15,8 +16,7 @@ function Sum1(a, b) {
1516
return a + b;
1617
}
1718
console.log(Sum1(4, 5));
18-
// Output:
19-
// 9
19+
// Output: 9
2020

2121
// OR
2222

0 commit comments

Comments
 (0)