hasBailedOutBug3.js 887 B

12345678910111213141516171819202122232425262728293031323334
  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. WScript.Echo = function (n) {
  6. formatOutput(n.toString());
  7. };
  8. function formatOutput(n) {
  9. return n.replace(/[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?/g, function () {
  10. });
  11. }
  12. function test0() {
  13. var GiantPrintArray = [];
  14. var protoObj0 = {};
  15. try {
  16. function func36() {
  17. try {
  18. }
  19. finally {
  20. WScript.Echo('' + b);
  21. GiantPrintArray.push(protoObj0);
  22. }
  23. }
  24. func36();
  25. __loopSecondaryVar3_0;
  26. } catch (ex) {
  27. b = ex;
  28. }
  29. }
  30. test0();
  31. test0();
  32. test0();
  33. print("Passed\n");