scrimba
Learn Basic JavaScript
Comparison with the Inequality 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 Inequality Operator
AboutCommentsNotes
Comparison with the Inequality Operator
Expand for more info
index.js
run
preview
console
// Setup
function testNotEqual(val) {
if (val) { // Change this line
return "Not Equal";
}
return "Equal";
}

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