blob: 7c8e3289a41a7d5febe608b73e396108f2a03eef (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// |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);
|