Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Why do we use == rather than ===
#5
(10-11-2010, 06:45 AM)Orgy Wrote: I see, Disease. So then would 1 === "1"?

Correct me if I'm wrong, but if the case were different, wouldn't it still evaluate to false, even if you only used "=="?

Yes you are wrong.
[Image: s1.jpg]
Reply


Messages In This Thread
Why do we use == rather than === - by Orgy - 10-11-2010, 06:39 AM
RE: Why do we use == rather than === - by Disease - 10-11-2010, 06:42 AM
RE: Why do we use == rather than === - by Disease - 10-11-2010, 09:12 AM
RE: Why do we use == rather than === - by Orgy - 10-11-2010, 09:27 AM
RE: Why do we use == rather than === - by Orgy - 10-11-2010, 06:45 AM
RE: Why do we use == rather than === - by phire nuk3r - 10-11-2010, 06:53 AM
RE: Why do we use == rather than === - by Orgy - 10-11-2010, 06:57 AM
RE: Why do we use == rather than === - by Chimi - 12-06-2010, 01:29 AM
RE: Why do we use == rather than === - by Orgy - 12-09-2010, 06:23 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)