“==” will not check for type but when we use “===” it will check for type also and returns true when type of variables on both sides is same.
Example:
if(3==”3″) will return true;
if(3 ===”3″) will return false;
I am writing my experiences and learning to help others
“==” will not check for type but when we use “===” it will check for type also and returns true when type of variables on both sides is same.
Example:
if(3==”3″) will return true;
if(3 ===”3″) will return false;