fieldhoist8.js 786 B

12345678910111213141516171819202122232425262728
  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()
  6. {
  7. var obj0 = new( Object);
  8. var func1 = function(p0,p1,p2)
  9. {
  10. };
  11. var d = 1;
  12. function func4(p0,p1,p2,p3)
  13. {
  14. obj0.e %= d
  15. }
  16. var i = 0;
  17. do
  18. {
  19. i++;
  20. func1(obj0.e = ++d);
  21. var j = 0;
  22. while (d++ && j < 3)
  23. j++
  24. } while (1 && i < 3);
  25. WScript.Echo("obj0.e = " + (obj0.e | 0));
  26. })()