Start learning free

LESSON 36 OF 675 · FUNCTIONS I

Execution Flow: Buggy Code in TypeScript

Practice

We've written a program and expected it to print:

1
2

but we get a different output. Fix our code so that it prints what we want.

STEP 1 OF 1
    Ctrl + Enter to check