blob: 73ccdc07a73caff0765f56ed5b2df1f2cc512b0a [file] [log] [blame]
if (typeof window === "undefined")
window = this;
Object.defineProperty(window, "foo", {
get: function() { return 5; },
configurable: true
});
for (var i = 0; i < 100; ++i)
assertEq(window.foo, 5);
if (typeof reportCompare === "function")
reportCompare(0, 0);