blob: 5ab3146ec95fc0f6239f1a3de6a2b1ad3d21d17e [file]
//-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//-------------------------------------------------------------------------------------------------------
//switches: -maxinterpretcount:1
var __counter = 0;
__counter++;
var obj0 = {};
obj0.method0 = function () {
obj0.prop0 = 1 - e;
[].push('e = ' + (e | 0));
};
var e = 2;
Object.defineProperty(obj0, 'prop0', {
set: function (v5) {
arguments; // this disables the argout optimization
WScript.Echo(v5);
}
});
for (var i =0;i<3;i++) {
[
{},
obj0
][__counter].method0();
}