Commit 34c6ca6
Update 6.3 solution to match code from 6.2
In the solution for 6.2 you used the 'this.has(value)' method, instead of 'this.members.includes(value)' in the 'add(value)' method.
The code should be consistent considering the exercise says:
// Your code here (and the code from the previous exercise)1 parent a9852da commit 34c6ca6
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
0 commit comments