Returns whether the given strings are equal
Optional
The source string to check
The target string to compare
whether the given strings are equal
David Hsing
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