Run Object.create(null) spec on all browsers not IE 8

IE 8 doesn't support Object.create so there shouldn't be a need to run this spec in IE 8
This commit is contained in:
Sheel Choksi
2014-01-18 13:12:07 -08:00
parent 15aa3ecb5d
commit 8ca08ff999

View File

@@ -123,6 +123,8 @@ describe("j$.pp", function () {
});
it("should handle objects with null prototype", function() {
if (jasmine.getEnv().ieVersion < 9) { return; }
var obj = Object.create(null);
obj.foo = 'bar';