Skip to content

Commit

Permalink
Update types practice.js
Browse files Browse the repository at this point in the history
The isCard exercise instructions calls for two arguments, a card suit and rank, but your tests expect the arguments in the alternate order. A minor issue, but changing the description or the tests might help avoid any confusion down the line.
  • Loading branch information
forrest-tss committed Oct 22, 2015
1 parent cee6df3 commit d749dc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 03-types/practice.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ var isRank = function () {


// Using the previous two functions, write a function called isCard that accepts
// two arguments, a suit and a rank, and returns true if they are valid for a card,
// two arguments, a rank and a suit, and returns true if they are valid for a card,
// and false otherwise.
var isCard = function () {
};
Expand Down

0 comments on commit d749dc2

Please sign in to comment.