scrimba
Learn Basic JavaScript
Comparison with the Greater Than Or Equal To Operator
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

Comparison with the Greater Than Or Equal To Operator
AboutCommentsNotes
Comparison with the Greater Than Or Equal To Operator
Expand for more info
index.js
run
preview
console
function testGreaterOrEqual(val) {
if (val) { // Change this line
return "20 or Over";
}

if (val) { // Change this line
return "10 or Over";
}

return "Less than 10";
}

// Change this value to test
console.log(testGreaterOrEqual(10));
Console
index.html
-0:27