1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-14 19:37:59 -05:00
denoland-deno/cli/tests/testdata/coverage/multisource/foo.ts
2023-12-12 12:42:57 +09:00

14 lines
163 B
TypeScript

export function foo(cond: boolean) {
let a = 0;
if (cond) {
a = 1;
} else {
a = 2;
}
if (a == 4) {
return 1;
} else {
return 2;
}
}