J
josh
Hi, I've the following problem:
If I have, for example,
BB =
{
CC =
{
makeDecision : function()
{
return "ko";
},
b : isOk ? "ok" : makeDecision()
}
}
now if I done
BB.CC.b where isOK == false;
than I have na error that makeDecision() is not defined
now is not possible to assign a variable value calling a function?
how can I make that?
Thanks
If I have, for example,
BB =
{
CC =
{
makeDecision : function()
{
return "ko";
},
b : isOk ? "ok" : makeDecision()
}
}
now if I done
BB.CC.b where isOK == false;
than I have na error that makeDecision() is not defined
now is not possible to assign a variable value calling a function?
how can I make that?
Thanks