blob: d1a67f1494a0d8b10d67099be623b825ab6286bd [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 = [0];
a[1] = 1
a[2] = 2;
Array.prototype[3] = 3; // Should BailOut on popping this element.
a[6] = 4;
function test1()
{
return a.pop();
}
var len = a.length;
for(i=0; i <= len; i++)
{
WScript.Echo(test1());
}