The following code segment demonstrates a recursive call using JavaScript.
function timedCount()
{
document.getElementById('txt').value=c;
c=c+1;
t=setTimeout("timedCount()",1000);
}
The source is from here.
My question: Doesn't this lead to a stack build-up and subsequently a stack overflow? I know for a fact that this will certainly crash in languages like Pascal and C/C++.
Thanks for any advice on this.