I was wondering what the structured equivalent of a continue statement is in JavaScript? I am trying to get rid of a continue statement but not sure how. Can anyone point me in the right direction? Thanks!
function Hand() {
    this.cards = new Array();
    this.addOneCard = function(card) {
        this.cards.push(card);
    }
    this.evaluateHand = function(){
        // Needs to handle two aces better
        var total1 = new Number;
        var total2 = new Number;
        for(var i in this.cards) {
            if (this.cards[i].value == "A") { 
                total1 += 1;
                total2 += 11;
                continue;
            }
            if (isNaN(this.cards[i].value * 1)) {
                total1 += 10;
                total2 += 10;
                continue;
            } 
            total1 += Number(this.cards[i].value);
            total2 += Number(this.cards[i].value);
        }
        return [total1, total2];
    };
}
 
     
     
     
     
    