Skip to content

Commit f875ec5

Browse files
committed
add the reasigned testname statement and the comment about the expected output back
1 parent 4348268 commit f875ec5

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎dead-code/exercise-1.js‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ function sayHello(greeting, name) {
77
return `${greeting}, ${name}!`;
88
}
99

10+
testName = "Aman";
11+
1012
const greetingMessage = sayHello(greeting, testName);
1113

12-
console.log(greetingMessage);
14+
console.log(greetingMessage); // 'hello, Aman!'

0 commit comments

Comments
 (0)