10-11-2010, 06:39 AM
If "===" means "exactly equal", then why don't we use it all the time. Well, with the exception of checking if something is true (true, >0, etc)
But I rarely see anyone ever use "===" for comparing strings. Why not? Wouldn't that be more accurate?
But I rarely see anyone ever use "===" for comparing strings. Why not? Wouldn't that be more accurate?