asyncintrystackwalkbug.js 729 B

123456789101112131415161718192021222324
  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 test5() {
  6. function shapeyConstructor(xddapw) {
  7. (async (xsbazt = hkvvxr(x)) => [...[
  8. -2,
  9. ]])();
  10. xddapw.y = CollectGarbage();
  11. delete xddapw.y;
  12. }
  13. for (var c in [0]) {
  14. try {
  15. var vbabnd = shapeyConstructor(c);
  16. } catch (e) {
  17. }
  18. }
  19. }
  20. test5();
  21. test5();
  22. test5();
  23. WScript.Echo("Passed");