bug650104.js 814 B

123456789101112131415161718
  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 obj0 = {};
  6. obj0.method1 = function (argMath7, argArr8) {
  7. arguments[1] = -2885562136746910000;
  8. for (var _strvar4 in argArr8) {
  9. WScript.Echo("name: " + _strvar4 + " " + argArr8 + typeof argArr8);
  10. argArr8[_strvar4] = argArr8;
  11. }
  12. };
  13. Number.prototype.push = Array.push;
  14. (obj0.method1.call({}, -2885562136746910000 > Object.create({}).length, new Array(10)));
  15. WScript.Echo(Number.prototype.push);
  16. Number().push();