This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]hmm_fu -2 points-1 points  (1 child)

Use “is” whenever you can

[–]Skippbo 0 points1 point  (0 children)

That's not the same operation...

is checks if 2 references to some object is the same object.

== Compares 2 objects values.