Forum Discussion
JanTkacik
14 years agoNew Contributor
I found a solution myself.
If code goes like this:
function classA()
{
this.a = 5;
this.exThrower = function exThrower()
{
throw new Error(-1,"Testing exception");
}
}
it works properly.