propstrbug.js 1.2 KB

12345678910111213141516171819202122232425262728293031
  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. //reduced switches: -loopinterpretcount:1 -bgjit- -maxsimplejitruncount:2 -maxinterpretcount:1
  6. var obj0 = {};
  7. var protoObj0 = {};
  8. var obj1 = {};
  9. var arrObj0 = {};
  10. var func0 = function () {
  11. };
  12. var func2 = function () {
  13. '*$*(#!O!\xA5!+%Q\xB4)'.concat((Object.defineProperty(obj0, 'length', { enumerable: true }))).replace().concat().replace();
  14. };
  15. obj0.method0 = func2;
  16. var ui32 = new Uint32Array();
  17. var IntArr2 = Array();
  18. var d = 1;
  19. var protoObj1 = Object();
  20. obj0.prop1 = -162;
  21. var id29 = func0(obj0.method0());
  22. for (var _strvar30 in obj0) {
  23. if (!(!IntArr2.unshift(22 * protoObj0.prop0 + arrObj0.prop0, ui32[14 + 1 & 255], protoObj0.length, 908048702 * 1643133174725930000 + -28, ++d, true ? (Object.defineProperty(obj0, 'prop1', {
  24. writable: true,
  25. enumerable: false,
  26. configurable: true
  27. }), obj1.length) : obj1.length, typeof protoObj1.prop0 != 'number'))) {
  28. }
  29. }
  30. print("PASS")