valueInfoLossBug.js 630 B

1234567891011121314151617181920
  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 ui16 = new Uint16Array();
  7. for (var _strvar0 in ui16) {
  8. litObj1.prop0 = ui16.length;
  9. if (litObj1.prop0.prop0) {
  10. ui16.length;
  11. }
  12. }
  13. }
  14. test0();
  15. test0();
  16. test0();
  17. WScript.Echo("PASSED");