Help Please
Error Did you set the variable currentCard equal to ‘Heart’?
Right under the array create a variable named currentCard and set it equal to ‘Heart’.
This variable will hold the name of the card we just flipped. We are using ‘Heart’ as the first card.
var cards = ['Diamond', 'Spade', 'Heart', 'Club'];
var currentCard = 'Heart';
while (currentCard !== 'Spade') {
console.log(currentCard);
var randomNumber = Math.floor(Math.random() * 4);
currentCard = cards[randomNumber];
}
console.log('Found a Spade!');