MCPcopy
hub / github.com/sudheerj/javascript-interview-questions / main

Function main

coding-exercise/eventloop-order.js:1–7  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1function main(){
2 console.log('A');
3 setTimeout(
4 function print(){ console.log('B'); }
5 ,0);
6 console.log('C');
7}
8main(); // A,C and B

Callers 1

eventloop-order.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected