Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/built-ins/global/10.2.1.1.3-4-22-s.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 Strict Mode - TypeError is not thrown when changing the value of
8 the Constructor Properties of the Global Object under strict mode
9 (Object)
10 flags: [onlyStrict]
11 ---*/
12
13 var objBak = Object;
14
15 try {
16 Object = 12;
17 } finally {
18 Object = objBak;
19 }