| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- //-------------------------------------------------------------------------------------------------------
- // Copyright (C) Microsoft. All rights reserved.
- // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
- //-------------------------------------------------------------------------------------------------------
- var shouldBailout = false;
- function test0() {
- var obj0 = {};
- var protoObj0 = {};
- var func0 = function () {
- ({
- prop0: typeof Error ? Error : Object,
- prop5: (shouldBailout ? (Object.defineProperty(this, 'prop5', {
- set: function () {
- },
- configurable: true
- })) : -216, shouldBailout ? (Object.defineProperty(this, 'prop5', {
- set: function () {
- }
- })) : -216)
- });
- };
- var func1 = function () {
- return func0(func0()) < protoObj0 >= 0 ? func0(func0()) : 0;
- };
- var func2 = function () {
- };
- var func4 = function () {
- return func1();
- };
- obj0.method0 = func4;
- obj0.method1 = obj0.method0;
- function func7() {
- func2(func0());
- }
- func2(func0());
- obj0.method1();
- var uniqobj0 = func7();
- }
- test0();
- shouldBailout = true;
- test0();
- WScript.Echo('pass');
|