bugs.js 688 B

1234567891011121314151617181920212223
  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 test16(){
  6. var obj0 = {};
  7. var obj1 = {};
  8. var func2 = function(){
  9. }
  10. obj1.method0 = func2;
  11. var __loopvar1 = 0;
  12. do {
  13. __loopvar1++;
  14. obj1.method0.apply(obj0, arguments);
  15. obj1.method0;
  16. } while((1) && __loopvar1 < 3)
  17. };
  18. test16();
  19. test16();
  20. WScript.Echo("PASSED\n");