[Solved] Javascript difference between “=” and “===” [duplicate]


As a quick reference as you are learning JS:

=   assignment operator
==  equal to
=== equal value and equal type

!=  not equal
!== not equal value or not equal type

solved Javascript difference between “=” and “===” [duplicate]