CodeHS debugging lesson:
I keep getting the syntax error 'Expected: ';'' but everything that needs a semicolon has one. What am I missing?
function start(){
for(var i = 0; i < 13; i++){
if(frontIsBlocked()){
jumpHurdle();
}else (frontIsClear()){
move();
}
}
}
function jumpHurdle(){
turnLeft();
move();
turnRight();
move();
turnRight();
move();
turnLeft();
}