Boolean Expressions
Lesson for boolean-expressions
Boolean Expressions
Learning from AstroPlatformer
Code Runner Challenge
boolean-expressions
View IPYNB Source
%%js
// CODE_RUNNER: boolean-expressions
const ground = true;
const hasJumped = false;
const canJump = ground && !hasJumped;
console.log("Can jump?", canJump);
Lines: 1
Characters: 0
Output
Click "Run" in code control panel to see output ...