What are the difference between "==" and "==="?

The == will not check the type of operands whereas === checks both type and value of the operands.

Other way of saying is, === will convert the operands to same type and then do the comparison. But === does not do any conversion. It simply return false if any of them in different type.

Comments

Popular posts from this blog

About 12 Alwars

Post thumbnails from external URLs don’t appear in Blogger. How to resolve?

What is the unicode character for the close symbol?