Skip to content

Commit e1fcdd4

Browse files
authored
Create Adding.js
1 parent a970e15 commit e1fcdd4

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Adding.js

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
var number = 4;
2+
var anotherNumber = 5;
3+
4+
function add(n1,n2) {
5+
console.log(n1+n2);
6+
}
7+
8+
function multiply(n1,n2) {
9+
console.log(n1*n2);
10+
}
11+
12+
add(number,anotherNumber);
13+
multiply(number,anotherNumber);

0 commit comments

Comments
 (0)