We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6a2477 commit 57de77dCopy full SHA for 57de77d
exercises.js
@@ -27,7 +27,8 @@ console.log(testGreeting); // printing the output value of the function.
27
* These two variables will be used to invoke the functions #2 - #5.
28
*/
29
30
-
+var bango1 = 1;
31
+var bango2 = 2;
32
33
/*
34
* #2
@@ -44,6 +45,13 @@ console.log(testGreeting); // printing the output value of the function.
44
45
* Console.log `sum` to test your code.
46
47
48
+function add(num1, num2){
49
+ return num1 + num2;
50
+
51
+}
52
53
+var sum = add(bango1, bango2);
54
+console.log('sum: ' + sum);
55
56
57
0 commit comments