diff --git a/test/test.js b/test/test.js index e6fd38965..b0cfebc0d 100644 --- a/test/test.js +++ b/test/test.js @@ -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); + }); }()); /*--------------------------------------------------------------------------*/