blockscope-activationobject.js 837 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. // Make sure space is allocated on block scope object for delay-captured lexical vars.
  6. (function (arg) {
  7. let a0 = 0;
  8. let a1 = 0;
  9. let a2 = 0;
  10. let a3 = 0
  11. let a4 = 0;
  12. let a5 = 0;
  13. let a6 = 0;
  14. let a7 = 0;
  15. class class15 {
  16. constructor() {
  17. a0;
  18. a1;
  19. a2;
  20. a3;
  21. a4;
  22. a5;
  23. a6;
  24. a7;
  25. }
  26. }
  27. arguments[0];
  28. })();
  29. WScript.Echo('pass');