test130.js 679 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 loopInvariant = 5;
  7. function makeArrayLength() {
  8. }
  9. var func0 = function() {
  10. };
  11. obj1 = func0;
  12. var __loopvar1 = loopInvariant;
  13. do {
  14. __loopvar1++;
  15. } while(__loopvar1 < loopInvariant);
  16. }
  17. test0();
  18. test0();
  19. WScript.Echo("pass");