Skip to content

Commit 82d05ff

Browse files
committed
refactor: Clarify that the Proxy pattern is used
1 parent fec61c9 commit 82d05ff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const Real = {
1212
highestScoreFrom,
1313
};
1414

15-
const Stub = {
15+
const Proxy = {
1616
drawLetters() {
1717
const defaultLetters = ["H", "E", "L", "L", "O", "W", "O", "R", "L", "D"];
1818

@@ -48,9 +48,9 @@ const Stub = {
4848

4949
return {
5050
word: words[0],
51-
score: Stub.scoreWord(words[0]),
51+
score: Proxy.scoreWord(words[0]),
5252
};
5353
},
5454
};
5555

56-
export default Stub;
56+
export default Proxy;

0 commit comments

Comments
 (0)