Operators
Abstract inequality (!=)
Negates loose equality after the same conversion rules as ==. It is not the same as strict inequality; different input types can compare equal.
Formal Syntax & Structure
javascript syntaxjavascript
left != rightParameters & Attributes
| Name | Type | Description |
|---|---|---|
| left | expression | Left operand. |
| right | expression | Right operand; short-circuiting may skip evaluation where applicable. |
Return Value
Boolean
Result of the operation.
Working Example
Example Snippetjavascript
console.log(0 != "0");