Booleans

Learning from AstroPlatformer

Code Runner Challenge

booleans

View IPYNB Source
%%js
// CODE_RUNNER: booleans

const alive = true;
const jumping = false;
const collected = false;
console.log("Alive:", alive, "Jumping:", jumping);

Lines: 1 Characters: 0
Output
Click "Run" in code control panel to see output ...