2
0

trylabel.js 554 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 t()
  6. {
  7. throw "PASS";
  8. }
  9. function f()
  10. {
  11. try
  12. {
  13. while (true) { t(); }
  14. }
  15. catch (e)
  16. {
  17. WScript.Echo(e);
  18. }
  19. }
  20. f();