Name
=== — NN n/a IE J3 ECMA n/a
Synopsis
The identity operator. This operator compares two operand values and
returns a Boolean result. Both the value and data type of the two
operands must be identical for this operator to return
true
. See the equality operator
(==
) for similar functionality in Navigator.
Example
if (n === m) { ... }
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.