bug594138.js 893 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. // TH: 594138
  6. while (true) {
  7. var v13 = {
  8. v14: function () {
  9. return function bar() {
  10. this.method0.apply(this.prop2, arguments);
  11. };
  12. }
  13. };
  14. var v15 = {};
  15. v15.v16 = v13.v14();
  16. v15.v16.prototype = {
  17. method0: function () {
  18. this.v20;
  19. }
  20. };
  21. v15.v18 = v13.v14();
  22. v15.v18.prototype = {
  23. method0: function () {
  24. new v15.v16();
  25. }
  26. };
  27. var v35 = new v15.v18();
  28. var v36 = new v15.v18();
  29. break;
  30. }
  31. WScript.Echo("PASSED");