Skip to content

Instantly share code, notes, and snippets.

@courtlandalves
Last active October 25, 2016 01:22
Show Gist options
  • Save courtlandalves/217fdce3a5f47e794329680e78d1c5ef to your computer and use it in GitHub Desktop.
Save courtlandalves/217fdce3a5f47e794329680e78d1c5ef to your computer and use it in GitHub Desktop.
// What will this code print?
function canRide(height) {
if(height > 6) {
console.log("You can ride the ride");
}else if(height != 5) {
console.log("You can't ride");
}else{
console.log("stop");
}
};
can_ride(5);
@yakschuss
Copy link

canRide -> can_ride

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment