bug724121.js 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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 GiantPrintArray = [];
  7. var v26 = {};
  8. Object.defineProperty(Object.prototype, '__getterprop4', {
  9. get: function () {
  10. function v0() {
  11. }
  12. v0.prototype.v2 = function () {
  13. };
  14. var v3 = new v0();
  15. function v4() {
  16. }
  17. v4.prototype.v2 = function () {
  18. };
  19. var v6 = new v4();
  20. function v17(v18) {
  21. v18.v2();
  22. }
  23. v17(v3);
  24. v17(v6);
  25. }, configurable:true
  26. });
  27. GiantPrintArray.push(v26.__getterprop4);
  28. for (;;) {
  29. break;
  30. for (var _strvar0 in IntArr0) {
  31. }
  32. GiantPrintArray.push(v30.__getterprop4);
  33. }
  34. }
  35. test0();
  36. test0();
  37. test0();
  38. WScript.Echo("PASS");