// |reftest| skip-if(!Object.prototype.toSource)

/* Any copyright is dedicated to the Public Domain.
 * http://creativecommons.org/licenses/publicdomain/ */

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);
