Search
A single = is used to assign value to a variable.
=
A double == is used to check equality. It checks whether or not the value on the left side is same as the value on the right side.
==
It is used quite frequently in if else conditions.
if else