Question 2 control flow


#1

Continuing the discussion from 2/9: It says "Syntax Error: Unexpected token else". Please help!:


#2
    }            // this } is misplaced
    } else {
        return false;
    }
};               // and belongs here (with ; )