Skip to content

Commit 9d3a213

Browse files
authored
Fixed Indentation
1 parent 39b2aec commit 9d3a213

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Sprint-3/1-implement-and-rewrite-tests/implement/3-get-card-value.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ function getCardValue(card) {
4242
"K",
4343
];
4444
const suits = ["♠", "♥", "♦", "♣"];
45-
let rank = card.slice(0, -1)// This is extracting the bit before the suits alone
46-
let suit = card.slice(-1) // THis is extracting the suit in the string
45+
let rank = card.slice(0, -1)// This is extracting the bit before the suits alone
46+
let suit = card.slice(-1) // THis is extracting the suit in the string
4747

4848
if(!ranks.includes(rank)){
4949
throw new Error("Invalid card")

0 commit comments

Comments
 (0)