Operators
Strict equality (===)
Tests equality without cross-type coercion. NaN does not equal itself, signed zeros are equal, and two objects match only by identity.
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(5 === "5");