Skip to content

Commit 3e66149

Browse files
author
AmiyahJo
committed
fix: used singlequotes for lesson12.ts strings
advised by github
1 parent 47f79a3 commit 3e66149

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lesson_12/structs_ts/src/lesson12.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { ListNode } from './list_node.js';
22

33
export class Lesson12 {
4-
4+
55
public gameResult(head: ListNode | null): string {
66
let [oddPoints, evenPoints] = [0,0];
77
let current = head;
@@ -16,11 +16,11 @@ export class Lesson12 {
1616
}
1717

1818
if (oddPoints > evenPoints) {
19-
return "Odd";
19+
return 'Odd';
2020
} else if (evenPoints > oddPoints) {
21-
return "Even";
21+
return 'Even';
2222
} else {
23-
return "Tie";
23+
return 'Tie';
2424
}
2525
}
2626
}

0 commit comments

Comments
 (0)