equalityJavaScriptEqualityMediumWhat is a common legitimate use of the loose equality operator ==?1x == null, which matches both null and undefined2Comparing two objects for deep equality3Converting strings to numbers4Checking array lengthBack to list