Tag: JavaScript
-
What is the difference between == and === operator?
JavaScript has both strict and type–converting comparisons. The equality operator converts the operands if they are not of the same type, then applies strict comparison. If both operands are objects, then JavaScript compares internal references which are equal when operands refer to the same object in memory. The identity operator returns true if the operands…
