blob: c6bf83b6c571ab0408eb551cd0241a6879efa9fa [file] [log] [blame]
//-------------------------------------------------------------------------------------------------------
// 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();
}