When validating javascript with tools like JSLint we often find only one repeated issue with == saying expected ===.
Let us clarify the difference between == and ===.
== is an equal operator which will return true when both operands are just same.
But === is strict equal operator which returns true only if the operands and their types are same Similarly
Let us clarify the difference between == and ===.
== is an equal operator which will return true when both operands are just same.
But === is strict equal operator which returns true only if the operands and their types are same Similarly