Skip to main content
interactive•output sequence•javascript
0s
+15 XP

Synchronous Call Stack Sequence

In what sequence will the letters be logged to the console?

javascript
function first() {
    console.log('A');
    second();
    console.log('B');
}
function second() {
    console.log('C');
}
first();
Exit to Challenges