Skip to content

Commit 30864f3

Browse files
committed
Added variable back in and pass variable into function call
1 parent 9053cec commit 30864f3

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
@@ -5,4 +5,6 @@ function sayHello(greeting, name) {
55
return `${greeting}, ${name}!`;
66
}
77

8-
console.log(sayHello("hello", "Aman")); // 'hello, Aman!'
8+
let testName = "Aman"
9+
10+
console.log(sayHello("hello", testName));

0 commit comments

Comments
 (0)