bug_OS_1197716.js 576 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. var func4 = function () {
  6. function func5() {
  7. if( func5.caller == null || func5.arguments == null)
  8. {
  9. print("FAILED")
  10. }
  11. }
  12. func5(func5());
  13. };
  14. func4();
  15. print("PASSED");