Skip to content

Instantly share code, notes, and snippets.

// What will this code print?
function can_ride(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");
}