mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-02 08:07:50 +00:00
shrunk down all of the 'is' functions into a single generation, added isRegExp, added a regexp equality test to isEqual, after grayrest's patch
This commit is contained in:
@@ -37,6 +37,7 @@ $(document).ready(function() {
|
||||
ok(!_.isEqual(5, NaN), '5 is not equal to NaN');
|
||||
ok(_.isEqual(NaN, NaN), 'NaN is equal to NaN');
|
||||
ok(_.isEqual(new Date(100), new Date(100)), 'identical dates are equal');
|
||||
ok(_.isEqual((/hello/ig), (/hello/ig)), 'identical regexes are equal');
|
||||
});
|
||||
|
||||
test("objects: isEmpty", function() {
|
||||
|
||||
Reference in New Issue
Block a user