In programming languages such as JavaScript, the operators ‘==’ and ‘===’, are used for comparison.
‘==’ is the equality operator and it compares the equality of two values without considering the data type. For instance, if we compare 2==‘2’, it will return true even though one is a number and the other is a string.
‘===’ is the strict equality operator and it compares the equality of two values along with their data types. Meaning it will only return true if both values and their data types are identical. For example, using the previous values, 2===‘2’ will return false, because the types are different (one is a number, other is a string).