0

What's the difference between = and ==?

9th Sep 2018, 8:57 AM
Filippo Passante
Filippo Passante - avatar
2 Answers
+ 3
= is the assignment operator, assigns RHS to LHS. == checks for equality between RHS and LHS, returns a boolean value.
9th Sep 2018, 9:12 AM
Hatsy Rei
Hatsy Rei - avatar
+ 2
If this helpsâ˜șâ˜ș. https://code.sololearn.com/cfob4Ie8GuGW/?ref=app
9th Sep 2018, 10:41 AM
Meet Mehta
Meet Mehta - avatar