3 var setPrototypeOf = require('../../object/set-prototype-of')
5 , getPrototypeOf = Object.getPrototypeOf;
7 module.exports = function (t, a) {
10 a(getPrototypeOf(t(x)), x, "Normal object");
11 a(getPrototypeOf(t(null)),
12 (setPrototypeOf && setPrototypeOf.nullPolyfill) || null, "Null");
15 a.h2("Normal object");
16 a(getPrototypeOf(obj = t(x, { foo: { value: 'bar' } })), x, "Prototype");
17 a(obj.foo, 'bar', "Property");
19 a(getPrototypeOf(obj = t(null, { foo: { value: 'bar2' } })),
20 (setPrototypeOf && setPrototypeOf.nullPolyfill) || null, "Prototype");
21 a(obj.foo, 'bar2', "Property");