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 ea31f86Copy full SHA for ea31f86
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 = 5;
31
+var bango2 = 4;
32
33
/*
34
* #2
@@ -44,6 +45,11 @@ 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
+var sum = add(bango1, bango2);
52
+console.log(sum);
53
54
55
0 commit comments