Operators

Strict inequality (!==)

Try the free JavaScript compiler

Negates strict equality. A difference in type makes the result true; distinct objects are unequal even if they have identical properties.

Formal Syntax & Structure

javascript syntaxjavascript
left !== right

Parameters & Attributes

NameTypeDescription
leftexpressionLeft operand.
rightexpressionRight operand; short-circuiting may skip evaluation where applicable.

Return Value

Boolean

Result of the operation.

Working Example

Example Snippetjavascript
console.log(5 !== "5");
JavaScript Reference