Skip to content

Commit efa6142

Browse files
dead code removed
1 parent 1723e24 commit efa6142

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

Sprint-3/1-implement-and-rewrite-tests/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ to choose test values that thoroughly test a function.
55

66
## 1 Implement solutions
77

8-
In the `implement` directory you've got a number of functions you'll need to implement.
8+
9+
Here is a recommended order:
10+
11+
1. `1-get-angle-type.js`In the `implement` directory you've got a number of functions you'll need to implement.
912
For each function, you also have a number of different cases you'll need to check for your function.
1013

1114
Write your assertions and build up your program case by case. Don't rush to a solution. The point of these assignments is to learn how to write assertions and build up a program step by step.
1215

13-
Here is a recommended order:
14-
15-
1. `1-get-angle-type.js`
1616
2. `2-is-proper-fraction.js`
1717
3. `3-get-card-value.js`
1818

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

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

99
}
10-
console.log(sayHello("hello", "Aman"))
11-
console.log(sayHello("hello", "Arun"));
10+
console.log(sayHello("hello", "Aman"));
11+
console.log(sayHello("hello", "Arun"));
12+
console.log(sayHello("hello", "Harini"));

Sprint-3/3-dead-code/newFile.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
const { sayHello } = require("./exercise-1");
2+
3+
console.log(sayHello("hello , ", Arun, "));"));

0 commit comments

Comments
 (0)