tfinlinebug.js 863 B

1234567891011121314151617181920212223242526272829
  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 test0() {
  6. var obj0 = {};
  7. var func0 = function () {
  8. return protoObj0.prop1;
  9. };
  10. var func1 = function () {
  11. if (false) {
  12. for (var _strvar3 of ary) {
  13. }
  14. }
  15. return func0();
  16. };
  17. obj0.method0 = func1;
  18. obj0.method1 = obj0.method0;
  19. var protoObj0 = Object(obj0);
  20. protoObj0.method0();
  21. var uniqobj8 = [protoObj0];
  22. var uniqobj9 = uniqobj8[0];
  23. uniqobj9.method0();
  24. protoObj0.method1();
  25. }
  26. test0();
  27. WScript.Echo("Passed");