sourceInfo_20.js 579 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. //
  6. // Test uncaught exception source info
  7. //
  8. function dummy() {
  9. // do nothing
  10. }
  11. function funcThrow() {
  12. dummy();
  13. throw 123; //10,5
  14. dummy();
  15. }
  16. dummy();
  17. funcThrow();
  18. dummy();