Debian Codegraph @

js/src/tests/test262/built-ins/global/10.2.1.1.3-4-22.js

raw
1 // Copyright (c) 2012 Ecma International. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 es5id: 10.2.1.1.3-4-22-s
6 description: >
7 TypeError is not thrown when changing the value of the Constructor Properties
8 of the Global Object
9 ---*/
10
11 var objBak = Object;
12
13 try {
14 Object = 12;
15 } finally {
16 Object = objBak;
17 }
18
19 reportCompare(0, 0);