Java Script- Variables- Rocket Jump

Hello Tynker community,

I have a student whose JavaScript code is the same as the solution but it won’t run.

We are having problems with Variables- Rocket Jump.

fuel=150;
while(!reachedGoal()){
if(hasPathLeft()){
turnLeft();
}else if(hasPathRight()){
turnRight();
}else if(isObstacle()){
jump();
}
forward();
}

Help!

Edgar

The code you pasted appears to work fine when I try it.

Is there any specific steps to take to reproduce the bug?

What browser version are you using? have you tried updating to the latest version?

Can you describe or provide a video showing where/how it fails?

Regards,
~Chris Murphy