Underscore 1.0.1 -- bugfix release for _.isEqual

This commit is contained in:
Jeremy Ashkenas
2010-03-19 10:07:21 -04:00
parent 1d787815af
commit a6578068d2
5 changed files with 14 additions and 7 deletions

View File

@@ -58,6 +58,7 @@ $(document).ready(function() {
ok(_.isEqual(new Date(100), new Date(100)), 'identical dates are equal');
ok(_.isEqual((/hello/ig), (/hello/ig)), 'identical regexes are equal');
ok(!_.isEqual(null, [1]), 'a falsy is never equal to a truthy');
ok(!_.isEqual({x: 1, y: undefined}, {x: 1, z: 2}), 'object with the same number of undefined keys are not equal');
});
test("objects: isEmpty", function() {