Skip to content

Commit a14e8a3

Browse files
removed both redundant and unreachble codes from the exercise-1.js
1 parent b31a586 commit a14e8a3

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

Sprint-3/3-dead-code/exercise-1.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@ let testName = "Jerry";
55
const greeting = "hello";
66

77
function sayHello(greeting, name) {
8-
const greetingStr = greeting + ", " + name + "!";
98
return `${greeting}, ${name}!`;
10-
console.log(greetingStr);
119
}
1210

1311
testName = "Aman";

0 commit comments

Comments
 (0)