I wish to know if there was a way for me to use a kind of "private realm" or "private memory" to each stack in javascript, to help me clear out racing condition in especially the case of parallel setTimeout calls.For instance, let's say I have this:\[code\]function foo() { /* some statements */ bar(); } function bar() { throw new Exception("oooh damn!"); }setTimeout(function() { foo(); }, 10);setTimeout(function() { foo(); }, 10);\[/code\]I'm going to have 2 exceptions raised, but I won't know to which call it corresponds.I could implement a kind of private realm thing but it would really complicate the code and I'd rather use native solutions if there were any.