Returns whether the given strings are equal
Optional
the source string to check
the target string to compare
whether the given strings are equal
equals(undefined, null); // falseequals('foo', 'foo'); // trueequals('foo', 'bar'); // false Copy
equals(undefined, null); // falseequals('foo', 'foo'); // trueequals('foo', 'bar'); // false
Returns whether the given strings are equal