JSOperators

!=

Comparison not equal

See more on MDN

Inequality operator is like the comparison operator, except it's the opposite. It will check that one value does not equal the other.

console.log("1" != 1); // false

console.log(1 != 2); // true