bug1065362.js 487 B

12345678910
  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 a = [];
  6. a[4294967290] = 4;
  7. a.splice(0,0,0,1); //length grows by 2
  8. a[4294967291] = 5;
  9. WScript.Echo("PASS");