blob: 6b192980f3fb83f494a92ddd373ac0d6951a2b6d [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.
//-------------------------------------------------------------------------------------------------------
var a = new Array();
function f()
{
var i = new Object();
i
Object.defineProperty(i, "Pass", {value: 1, writable:false, enumerable: true} );
for (var attr in i)
{
a.push(attr);
}
for (var attr in Array)
{}
}
f();
CollectGarbage();
for (var index = 0; index < a.length; index++)
{
WScript.Echo(a[index]);
}