@@ -15,6 +15,13 @@ define(function () {
assert(function () {
return !("hasOwnProperty" in Object.create(null));
});
+ assert(function () {
+ return Object.getPrototypeOf(Object.create(null)) === null;
+ });
+ var p = {};
+ return Object.getPrototypeOf(Object.create(p)) === p;
return new Function("return this")().Object === Object;