Skip to content

Commit 0574a6a

Browse files
committed
Correction to revert refactoring in exercise 1, as instructed
1 parent 7e870ff commit 0574a6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
const greeting = "hello";
55
const testName = "Aman";
66

7-
const sayHello = (greeting, name) => {
7+
function sayHello(greeting, name) {
88
return `${greeting}, ${name}!`;
99
};
1010

0 commit comments

Comments
 (0)