Created
August 31, 2017 11:14
-
-
Save myanmarlinks/f4262112e144200f4db3dad0a7d6b599 to your computer and use it in GitHub Desktop.
JavaScript Fundamental Part 3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for(var i = 0; i < 4; i++) { | |
moveForward(); | |
if(checkHasSwitch()) { | |
if(checkSwitchHasClosed()) { | |
openSwitch(); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment