box_jitloopbody3.js 905 B

123456789101112131415161718192021222324252627282930313233
  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. var obj1 = {};
  6. var func2 = function () {
  7. function v1() {
  8. arguments;
  9. }
  10. for (var v4 = 0; v4 < 2; v4++) {
  11. v1();
  12. function v5() {
  13. if (v4 < 10) {
  14. return;
  15. }
  16. for (; ; __loopvar6) {
  17. }
  18. }
  19. function v8() {
  20. return v5();
  21. }
  22. function v9() {
  23. return v8();
  24. }
  25. v9();
  26. }
  27. };
  28. obj1.method0 = func2;
  29. (function () {
  30. })(obj1.method0());
  31. WScript.Echo('pass');