Source code
Revision control
Copy as Markdown
Other Tools
// |reftest| skip-if(!Object.prototype.toSource)
/* Any copyright is dedicated to the Public Domain.
var desc = { get: undefined, set: undefined, configurable: true, enumerable: true };
var obj = Object.defineProperty({}, "prop", desc);
assertEq(obj.toSource(), "({})");
if (typeof reportCompare === "function")
reportCompare(0, 0);