Source code
Revision control
Copy as Markdown
Other Tools
[1, "", true, Symbol(), undefined].forEach(props => {
assertEq(Object.getPrototypeOf(Object.create(null, props)), null);
});
assertThrowsInstanceOf(() => Object.create(null, null), TypeError);
if (typeof reportCompare === "function")
reportCompare(true, true);