For example if I do if ("11" == 11) this will give true because the string will be converted to number so it will be like testing if (11 == 11) and that is true
It I instead use if ("11" === 11) this will give false because no conversion is made.
I can understand this but now to my question.
So because of my test previously it seems like we should always use === to prevent any automatic conversion when testing for equality.
So what guideline exist when to use == for equality and when to use === for equality.