Equals (Loose)
Checks if the values are loosely equal, allowing type coercion. For example, 12 equals ‘12’.
Compare two values based on their content, ignoring data types. For example, the integer 1 and
the string “1” will return true.
Checks if the values are loosely equal, allowing type coercion. For example, 12 equals ‘12’.