mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
39 lines
788 B
JSON
39 lines
788 B
JSON
// === documentHighlights ===
|
|
// === /getOccurrencesThrow3.ts ===
|
|
// function f(a: number) {
|
|
// try {
|
|
// /*HIGHLIGHTS*/[|throw|] "Hello";
|
|
//
|
|
// try {
|
|
// throw 10;
|
|
// }
|
|
// catch (x) {
|
|
// return 100;
|
|
// }
|
|
// finally {
|
|
// [|throw|] 10;
|
|
// }
|
|
// }
|
|
// catch (x) {
|
|
// --- (line: 16) skipped ---
|
|
|
|
|
|
|
|
// === documentHighlights ===
|
|
// === /getOccurrencesThrow3.ts ===
|
|
// function f(a: number) {
|
|
// try {
|
|
// [|throw|] "Hello";
|
|
//
|
|
// try {
|
|
// throw 10;
|
|
// }
|
|
// catch (x) {
|
|
// return 100;
|
|
// }
|
|
// finally {
|
|
// /*HIGHLIGHTS*/[|throw|] 10;
|
|
// }
|
|
// }
|
|
// catch (x) {
|
|
// --- (line: 16) skipped --- |