Skip to content

Commit 566310f

Browse files
committed
Remove unused greetingStr and unreachable console.log in exercise-1
1 parent 29ef74a commit 566310f

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎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)