bug215238-shrua.js 885 B

123456789101112131415161718192021222324
  1. //-------------------------------------------------------------------------------------------------------
  2. // Copyright (C) Microsoft. All rights reserved.
  3. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
  4. //-------------------------------------------------------------------------------------------------------
  5. function test0() {
  6. function makeArrayLength(x) {
  7. if (!(x < 1)) {
  8. return Math.floor();
  9. }
  10. }
  11. var arrObj0 = {};
  12. var func0 = function () {
  13. arrObj0[0] = 156;
  14. return arrObj0[0];
  15. };
  16. arrObj0[12] = -167;
  17. protoObj1 = Object();
  18. length = makeArrayLength(~(arrObj0[(func0.call(protoObj1, 1, 1, 1) >= 0 ? func0.call(protoObj1, 1, 1, 1) : 0) & 15] >>> Object.prototype.prop2));
  19. WScript.Echo(length);
  20. }
  21. test0();
  22. test0();
  23. test0();