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

var a = {d: true, w: true};
Object.defineProperty(a, "d", {set: undefined});
delete a.d;
delete a.w;
a.d = true;

reportCompare(0, 0, "ok");