summaryrefslogtreecommitdiffstats
path: root/js/src/tests/js1_8_5/regress/regress-617405-1.js
blob: f8625496c96b0d071898cef53af0a73ae6a2bba9 (plain)
1
2
3
4
5
6
7
8
9
10
11
/*
 * Any copyright is dedicated to the Public Domain.
 * http://creativecommons.org/licenses/publicdomain/
 * Contributors: Christian Holler <decoder@own-hero.net> and Jason Orendorff
 */

function C(){}
C.prototype = 1;
assertEq(Object.getOwnPropertyDescriptor(C, "prototype").configurable, false);

reportCompare(0, 0, "ok");