11 lines
141 B
TypeScript
11 lines
141 B
TypeScript
// @allowUnreachableCode: true
|
|
|
|
function foo() {
|
|
if (true) {
|
|
return 42;
|
|
}
|
|
else {
|
|
return "42";
|
|
}
|
|
};
|