Change Language


Follow Navioo On Twitter

==

Returns true if both values are equal.

Syntax

valueA == valueB

Example

var foo = 5;
if (foo == 5)
    return true; //Returns true because foo == 5.

Remarks

If the two values are of different types, JavaScript will attempt to convert one of them to the same type as the other to perform the comparison.

text_javascript Navioo_docs

Ajax Javascript feed

↑ Grab this Headline Animator