test129.js 569 B

1234567891011121314151617
  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 sum = 0;
  7. var j = 0;
  8. for(var i = 0; i < 2; ++i) {
  9. if(j > 1)
  10. sum += 1 % j;
  11. }
  12. return sum;
  13. }
  14. test0();
  15. WScript.Echo("pass");