Add JScript [[DontEnum]] _.size unit test.

Former-commit-id: 734b1943bb7c5f9111f170afccdf0b169fb2cca7
This commit is contained in:
John-David Dalton
2012-05-15 11:26:56 -04:00
parent bdca0cf668
commit 9c79259e9c

View File

@@ -344,6 +344,10 @@
test('should detect the size of a string value', function() {
equal(_.size('abc'), 3);
});
test('fixes the JScript [[DontEnum]] bug (test in IE < 9)', function() {
equal(_.size(shadowed), 7);
});
}());
/*--------------------------------------------------------------------------*/