JavaScript Operator: strictly equal
[this page | pdf | back links]
In JavaScript,
the === operator is
the ‘strictly equal to’ operator:
|
x
|
y
|
x == y
|
|
8
|
"8"
|
false
|
|
8
|
8
|
true
|
Note: if x and y
are of the same type then this operator should return the same as the ‘equal to’
operator, ==.
NAVIGATION LINKS
Contents | Prev | Next | JavaScript Operators