test121.js 719 B

123456789101112131415161718192021
  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. var obj0 = {};
  7. var IntArr0 = [-2];
  8. var uic8 = new Uint8ClampedArray(4);
  9. var a = 1;
  10. var __loopvar0 = 0;
  11. while((1) && __loopvar0 < 1) {
  12. __loopvar0++;
  13. obj0.length = (IntArr0[1], (a = IntArr0[1]), uic8.length);
  14. }
  15. return a;
  16. };
  17. test0();
  18. test0();
  19. WScript.Echo("pass");