Games Node.js Loop Quest One chef, one stove
Last in, first out
a calls b, and b calls c. Each one logs after its call returns.
function c() { console.log('c'); }function b() { c(); console.log('b'); }function a() { b(); console.log('a'); }a();console.log('main');1. Predict the output
Tap the lines in the order you think they print.
- 1…
- 2…
- 3…
- 4…