bug1355201.js 760 B

123456789101112131415161718192021
  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(a) {
  6. var arrObj0 = {};
  7. var func2 = function () {
  8. return arrObj0 != b || arrObj0[typeof (typeof a == 'boolean') != 'undefined' ? typeof (typeof a == 'boolean') : 0];
  9. };
  10. var func3 = function (a) {
  11. var m = func2(a) ? 'caller' : 1;
  12. };
  13. var a = -191;
  14. var b = -2147483647;
  15. func3(a);
  16. }
  17. test0(1);
  18. test0(1);
  19. test0(1);
  20. WScript.Echo("Passed");