Skip to content
This repository was archived by the owner on Apr 18, 2025. It is now read-only.

Commit 3f51bfb

Browse files
committed
get-card-value.js updated
1 parent 1a4da93 commit 3f51bfb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

week-3/implement/get-card-value.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,6 @@ function getCardValue(card) {
5555
// after that If the card is not recognized, show an error
5656
else {
5757
// Show an error message for cards we don't understand
58-
throw new Error("Invalid caRd.");
58+
throw new Error("Invalid card.");
5959
}
6060
}

0 commit comments

Comments
 (0)