bug_OS_10735999.js 795 B

12345678910111213141516171819202122232425
  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 obj1 = {};
  7. var func0 = function () {
  8. if (true) {
  9. function func5() {
  10. return function () {
  11. (function () {
  12. func5;
  13. });
  14. }();
  15. }
  16. with ({}) {
  17. argMath2 = func5.call(obj1);
  18. }
  19. }
  20. };
  21. func0();
  22. }
  23. test0();
  24. WScript.Echo('pass');