I’m wondering why you would prefer one equality check over another. I know that you would want to use == if checking a string of numerals like ‘123’ to a number 123, but are there other common scenarios to use == instead of ===?
Where would checking for equality of type as well as value be the wrong approach? What I am thinking is to always use === unless you know that == would be better. Right now it is only the ‘123’ example that I know would be a reason for using ==, and so I am looking for other common checks that would also use ==.