blob: 39ba7981045b341d4c989f0dd212d513a15e00b3 [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.
//-------------------------------------------------------------------------------------------------------
function test0() {
var o = {
p0: 0,
p1: 1
};
var a = o.p0;
o.p2 = 2;
return a;
}
WScript.Echo(test0());
WScript.Echo(test0());
WScript.Echo(test0());
function test1() {
var o = {
p0: 0,
p1: 1
};
var a = o.p2;
o.p2 = 2;
return a;
}
WScript.Echo(test1());
WScript.Echo(test1());
WScript.Echo(test1());