What's the difference between equal signs

Question

What is the difference between == and ===?

Answer

== means “equal to” so it only cares about equal, even if one is a number and the other is a stringified number(for example “5”), while === means “equal value and equal type” so they have to be in the same type and they have to be equal
Here’s an example:

let x = 5;
console.log(x == "5"); //prints true
console.log(x === "5"); //prints false

=== is like an and operator, both of it’s requirements have to be true unless it will be false