Hint
Pay attention to the order of console.log statements in relation to function calls to understand how the call stack operates
function a() {
console.log("Inside A");
b();
console.log("A finished");
}
function b() {
console.log("Inside B");
}
a();Inside A Inside B A finished