box_callparam.js 623 B

12345678910111213141516171819202122232425262728293031
  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 blah()
  6. {
  7. function nested2()
  8. {
  9. return nested2;
  10. }
  11. function nested(a)
  12. {
  13. if (a) {
  14. throw 1;
  15. }
  16. }
  17. nested(nested2());
  18. }
  19. try
  20. {
  21. blah();
  22. }
  23. catch (e)
  24. {
  25. }