Both are comparison operators. The difference between both the operators is that,“==” is used to compare values whereas, “ === “ is used to compare both value and types. Example let no1 = 20; let no2 = \\"20\\"; (no1 == no2) // Returns true since the value of both no1 and no2 is the same (no1 === no2) // Returns false since the typeof no1 is \\"number\\" and typeof no2 is \\"string\\"