TypeScript/tests/baselines/reference/sourceMapValidationTryCatchFinally.js

45 lines
567 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
//// [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