Why do we use === for equal? Isn't it just ==?


#1

Really don't understand why we're using three equal sign rather than just two? Will be grateful for your answers.


#2

= is assignment,
== is comparing value,
=== is comparing type and value.