| //------------------------------------------------------------------------------------------------------- |
| // 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() { |
| function makeArrayLength(x) { |
| |
| if (!(x < 1)) { |
| return Math.floor(); |
| } |
| |
| } |
| |
| var obj2 = {}; |
| |
| var func1 = function () { |
| y = ~(++this.prop5 >>> protoObj1.prop3) |
| protoObj1.length = makeArrayLength(y); |
| |
| }; |
| |
| obj2.method0 = func1; |
| protoObj1 = Object(); |
| Object.prototype.prop5 = -1921245026.9; |
| obj2.method0(); |
| WScript.Echo(protoObj1.length); |
| } |
| test0(); |
| test0(); |
| test0(); |
| test0(); |
| test0(); |
| test0(); |
| test0(); |
| test0(); |
| test0(); |
| test0(); |
| test0(); |
| test0(); |
| |
| test0(); |
| test0(); |
| test0(); |
| test0(); |
| test0(); |
| test0(); |
| test0(); |
| test0(); |
| test0(); |
| test0(); |
| test0(); |
| test0(); |