45 lines
No EOL
567 B
JavaScript
45 lines
No EOL
567 B
JavaScript
//// [sourceMapValidationTryCatchFinally.ts]
|
|
var x = 10;
|
|
try {
|
|
x = x + 1;
|
|
} catch (e) {
|
|
x = x - 1;
|
|
} finally {
|
|
x = x * 10;
|
|
}
|
|
try
|
|
{
|
|
x = x + 1;
|
|
throw new Error();
|
|
}
|
|
catch (e)
|
|
{
|
|
x = x - 1;
|
|
}
|
|
finally
|
|
{
|
|
x = x * 10;
|
|
}
|
|
|
|
//// [sourceMapValidationTryCatchFinally.js]
|
|
var x = 10;
|
|
try {
|
|
x = x + 1;
|
|
}
|
|
catch (e) {
|
|
x = x - 1;
|
|
}
|
|
finally {
|
|
x = x * 10;
|
|
}
|
|
try {
|
|
x = x + 1;
|
|
throw new Error();
|
|
}
|
|
catch (e) {
|
|
x = x - 1;
|
|
}
|
|
finally {
|
|
x = x * 10;
|
|
}
|
|
//# sourceMappingURL=sourceMapValidationTryCatchFinally.js.map
|