Lesson 9 of 35 · +70 xp

If Statement

Branching.

Explained simply

Your task

Write: if (x > 0) { console.log("pos"); }

if.js
▶ Output (javascript)
Click 'Run code' to execute your code in a real sandbox.
← Back