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

var a = [];
for (var i = 0; i < 2; i++) {
    a[i] = {m: function () {}};
    Object.defineProperty(a[i], "m", {configurable: false});
}
assertEq(a[0].m === a[1].m, false);

reportCompare(0, 0, "ok");