summaryrefslogtreecommitdiffstats
path: root/js/src/tests/non262/regress/regress-596805-1.js
blob: c008beb380340eeca07c947ab89a17179481790e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */
/*
 * Any copyright is dedicated to the Public Domain.
 * http://creativecommons.org/licenses/publicdomain/
 */

var f = function(){};
for (var y in f);
f.j = 0;
Object.defineProperty(f, "k", ({configurable: true}));
delete f.j;
Object.defineProperty(f, "k", ({get: function() {}}));

reportCompare(0, 0, "ok");