mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
27 lines
490 B
TypeScript
27 lines
490 B
TypeScript
//// [tests/cases/conformance/emitter/es2019/noCatchBinding/emitter.noCatchBinding.es2019.ts] ////
|
|
|
|
//// [emitter.noCatchBinding.es2019.ts]
|
|
function f() {
|
|
try { } catch { }
|
|
try { } catch {
|
|
try { } catch { }
|
|
}
|
|
try { } catch { } finally { }
|
|
}
|
|
|
|
|
|
//// [emitter.noCatchBinding.es2019.js]
|
|
"use strict";
|
|
function f() {
|
|
try { }
|
|
catch { }
|
|
try { }
|
|
catch {
|
|
try { }
|
|
catch { }
|
|
}
|
|
try { }
|
|
catch { }
|
|
finally { }
|
|
}
|