Skip to content

Commit a31d8af

Browse files
author
devabu23
committed
scope.js
1 parent 3f14387 commit a31d8af

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

scope.js

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
let bouns = 20 ;
2+
function sum(first, second) {
3+
let result = first + second + bouns;
4+
if(result > 9){
5+
var mood = "happy";
6+
mood = "fishy";
7+
mood = 'funky';
8+
mood = "cranky"
9+
10+
// console.log(mood);
11+
}
12+
return result
13+
}
14+
const output = sum(5, 6)
15+
console.log(output);

0 commit comments

Comments
 (0)