You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// =============> I guess that the output will be undefined because there is a semicolon after the "return" and this breaks the line of code, and after return statement nothing can be returned
3
3
4
4
functionsum(a,b){
5
5
return;
@@ -8,6 +8,8 @@ function sum(a, b) {
8
8
9
9
console.log(`The sum of 10 and 32 is ${sum(10,32)}`);
10
10
11
-
// =============> write your explanation here
11
+
// =============> The output is "The sum of 10 and 32 is undefined" as I predicted above
0 commit comments