We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 780eaf1 commit ba94ecdCopy full SHA for ba94ecd
1 file changed
Sprint-3/3-dead-code/exercise-1.js
@@ -4,10 +4,8 @@
4
let testName = "Jerry";
5
const greeting = "hello";
6
7
-function sayHello(greeting, name) {
8
- const greetingStr = greeting + ", " + name + "!";
9
- return `${greeting}, ${name}!`;
10
- console.log(greetingStr);
+function sayHello(greeting, name) {
+ return `${greeting}, ${name}!`;
11
}
12
13
testName = "Aman";
0 commit comments