Explain difference between == and ===?

Submitted by: Muhammad
This is pretty simple but at the same time some people never came across a triple equals or never wondered what's the difference.
Double equals == is used to compare the value of two operands:

"2" == 2; // true
2 == 2; // true
Triple equals === is used to compare the value AND type of two operands:

"2" === 2; // false
2 === 2; // true
Submitted by: Muhammad

Read Online Front End Developer (AngularJS) Job Interview Questions And Answers