2
0

withBug940841_2.js 525 B

12345678910111213141516
  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 test4() {
  6. with ({ x: 1 % {}})
  7. {
  8. for (var i = 0; i < 1; i++) {
  9. x;
  10. }
  11. }
  12. }
  13. test4();
  14. test4();
  15. WScript.Echo("PASS");