Skip to content

Commit 477a236

Browse files
committed
refactor: remove the unnessary explanation code lines
1 parent 4bec805 commit 477a236

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
// execute the code to ensure all tests pass.
2323

2424
function getCardValue(card) {
25-
//check the length and if does not match the valid length throw an error
2625
if (card.length < 2 || card.length > 3) {
2726
throw new Error("Invalid card");
2827
}

0 commit comments

Comments
 (0)