- Checks if
1 >= 5
, which isfalse
- Computes
"today" + ____
(something unknown) - Calls
goAgain
with"today".substring(1)
, which is"oday"
, and1 + 1
, which is2
Resulting call stack
g("oday", 2)
g("today", 1) "today" + ____
1 >= 5
, which is false
"today" + ____
(something unknown)goAgain
with "today".substring(1)
, which is "oday"
, and 1 + 1
, which is 2
g("oday", 2)
g("today", 1) "today" + ____